If you are an airport with a legislated requirement to provide space for a government agency to function (biosecurity, customs or immigration for example), you must apply.
You can find more information about space requirements here: section 218 of the Civil Aviation Act 2023, section 218 (legislation.govt.nz)
Other airports can choose whether they wish to register.