Children born in Australia before 27 February 2001 to New Zealand parents have generally been Australian citizens by birth. However, those born between 20 August 1986 and 31 August 1994 did not acquire Australian citizenship by birth, which is due to a technicality in the 1986 legislation which limited the acquisition of Australian citizenship to children of Australian citizens and permanent residents, which was not corrected until 1994. These restrictions do not apply to children of a person who was an Australian citizen or permanent resident at the time of birth. In addition, a child born in Australia to two parents who are New Zealand citizens by descent is entitled to Australian citizenship. This is because under New Zealand nationality law, New Zealand citizens by descent cannot pass on New Zealand citizenship by descent, therefore rendering the child otherwise stateless. Special rules apply to cases in which the New Zealand parent is a diplomat, official guest, a visiting member of the armed forces, or has entered Australia on the passport of another country.