Audio By Carbonatix
A top South African court has cleared the way for an eight-year-old girl, born to Cuban parents, to be granted South African citizenship.
This entitles her to access to health care, education and other welfare services which she had been denied.
As her parents have been out of Cuba for some time, the girl had been unable to claim Cuban citizenship and she had been effectively left "stateless".
This test case will affect other children in such legal limbo.
The case has been going through the South African courts for several years, and the Supreme Court of Appeal's decision came after the government challenged a ruling brought by a lower court.
The BBC's Karen Allen in Johannesburg says the home affairs ministry had argued that granting the girl a South African birth certificate would open the floodgates to new applications.
The court's judgement is a reaffirmation of existing laws in South Africa which give citizenship to stateless children.
The Supreme Court of Appeal gave the government 18 months to get its house in order and put in place a mechanism for processing similar claims.
Lawyers say the implementation of this ruling would bring South Africa into line with many other countries.
It could also help many of the thousands of stateless youngsters born in South Africa, who are now being put up for adoption and whose birth parents were foreign migrants or refugees, our reporter says.
A spokesman for South Africa's Department of Home affairs said it welcomed the chance to re-evaluate its position.
South Africa is home to many African migrants who have moved to the country for better economic fortunes in one of the continent's largest economies or to seek political refuge.
Latest Stories
-
‘My Police, Your Police, Our Police’: the Aboso fire and a lesson in Policing together
10 minutes -
Parliament backs OSP probe into alleged GH¢70k payment to Patricia Appiagyei
30 minutes -
Photos: Joy FM Back-to-School Fair buzzes with excitement, strong patronage on Day 2
40 minutes -
Dissolving inactive SOE boards is justified – Dennis Miracles Aboagye
52 minutes -
John Boadu: I am not contesting for president; I am contesting to make Bawumia President
53 minutes -
Zoomlion begins post-flood disinfection exercise in West Gonja to curb health risks
1 hour -
When Lady Justice Counted Eight Years
1 hour -
SIGA reporting should distinguish commercial performance from public service – Yaw Appiah Lartey
1 hour -
SOEs must hold AGMs, not just submit audited accounts – Deloitte Partner
1 hour -
There are errors in SIGA report that affected its conclusions – Miracles Aboagye
2 hours -
Joy FM Back-to-School Fair gains momentum as Day 2 gets underway
2 hours -
Bright Simons fires back, rejects claims he used AI to critique SIGA report
2 hours -
SIGA did not conjure or manufacture figures – Prof Kpessa-Whyte
2 hours -
Government just put a spin on SIGA report – Miracles Aboagye
3 hours -
Gideon Boako: Cocoa farmers deserve better support
3 hours