In terms of that order, the minister must accept their applications for citizenship and make a decision within 10 days.

The SCA declared that if you were born in South Africa to foreign parents who have not been admitted as permanent residents, you qualify to apply for South African citizenship upon becoming a major - if your birth was registered and if you have lived here all your life, irrespective of the date of your birth.

It also ordered the minister to enact the necessary forms to allow for such applications within one year. Pending this, he must accept applications on affidavit.

The application, brought with the assistance of the Legal Resources Centre (LRC), was first set down in the Western Cape High Court.

It was argued that the centre’s clients had all complied with the Citizenship Amendment Act, which came into effect in January 2013. They were all born in South Africa to foreign parents and they had all turned 18, but their applications for citizenship under naturalisation laws were being refused.

In fact, they said, they were being told that such an application form did not even exist.

In that court, the minister argued that the act only applied to children born after January 2013 and could not be applied retrospectively. In fact, his lawyers argued, it did not even apply to children who turned 18 after that date but only to children born after that date.

Any retrospective application would create “an unnecessary flow of applications and burden the already strained resources of the department”.