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
-
“God Bless You”: The Currency of Gratitude Among Ghana’s Poor
58 minutes -
Heal Komfo Anokye Project to respond to governance and accountability claims
1 hour -
Calls grow for NHIS to cover prescription glasses after over 500 miss free eye care in Bono Region
2 hours -
Nkwanta South: Death toll from Odomi attack now 4 as curfew takes effect
2 hours -
Impakers Creative Hub earns Trade Minister’s praise at Ghana–Italy Circular Economy Dialogue
3 hours -
Coderina EdTech donates STEM materials to support ICT, coding education in Ghana
3 hours -
Iran recloses Strait of Hormuz, citing Israeli strikes on Lebanon
3 hours -
Hackman Owusu-Agyeman backs St Augustine’s teachers’ housing project by APSU 2002 to mark 97th anniversry
3 hours -
GIPC CEO courts Canadian investors in Toronto
3 hours -
Harry and Meghan offered royal accommodation during UK visit
3 hours -
Ntim Fordjour demands answers over Australia drug seizure linked to Ghana
3 hours -
West Hills Mall to celebrate fatherhood with ‘Dad’s Day Out’ campaign
3 hours -
FIFA Ranking: Black Stars move eight places up after World Cup win over PanamaÂ
3 hours -
Google unveils biggest-ever Street View expansion in Ghana with sharper imagery and wider coverage
3 hours -
There is ‘zero chance’ Mahama will appoint a politically neutral EC deputy chairperson — Kofi Bentil
4 hours