South Africa's decision to withdraw from the International Criminal Court (ICC) has been ruled "unconstitutional and invalid" by the High Court.
South Africa notified the UN of its intention to leave last October, accusing the ICC of undermining its sovereignty.
But the opposition Democratic Alliance (DA) argued that the government had to first seek parliamentary approval.
The court ordered the government to revoke its notice of withdrawal.
The decision to pull out came after a dispute over Sudanese President Omar al-Bashar's visit to the country in 2015.
South African authorities refused to arrest Mr Bashir despite him facing an ICC arrest warrant over alleged war crimes.
Mr Bashir was attending an African Union summit in Johannesburg, when the government ignored an ICC request to arrest him.
The DA welcomed the judgement.
"The withdrawal by the South African government from the ICC was irrational and unconstitutional," DA lawmaker James Selfie told AFP.
"We would like South Africa to stay in the ICC because we believe that it is consistent with our constitution and with the legacy of Nelson Mandela."
Latest Stories
-
Keynote speakers arrive in Paris for Women of Valour
2 hours -
Coastal Civil Society Forum engages tidal wave victims, calls for urgent gov’t action
4 hours -
Prosecutors demand Luis Rubiales World Cup kiss retrial
4 hours -
Ghana won’t sink any further, investors must stay – Ishmael Yamson
4 hours -
Dr. Louisa Satekla pays courtesy call on Haruna Iddrisu to promote oral health education
4 hours -
ECB apologises for Pope Francis Ashes post joke
5 hours -
Denmark postal service to stop delivering letters
5 hours -
Photos: Mahama visits victims of tidal waves destruction in Volta region
5 hours -
Teen armed with gun overpowered by passengers onboard plane
5 hours -
Ghana Month: From war airbase to global gateway – KIA’s evolution and Ghana’s airline struggle
6 hours -
Rosetta Quaicoe: Preventing future Cholera outbreaks in Takoradi: A public health imperative
6 hours -
Edward Bawa assumes office as Acting Group CEO & MD of GOIL PLC
6 hours -
Ghana’s economy to face greater external stability in 2025; reserves to hit $8.8bn in 2025
6 hours -
Ghana’s current account balance to remain positive at 1.8% in 2025 – Fitch Solutions
6 hours -
Mahama directs Finance Minister to fund Blekusu Sea Defence Phase II
6 hours