South Africa is not planning to quit the International Criminal Court, as earlier suggested by President Cyril Ramaphosa, his office said Tuesday, citing a communication error from the ruling ANC party.

Hours earlier, Ramaphosa had said his African National Congress (ANC) had decided to withdraw South Africa from the International Criminal Court, which last month issued an arrest warrant against Russian President Vladimir Putin.

The ICC arrest warrant meant that Pretoria -- due to host the Brazil, Russia, India, China and South Africa bloc summit this year -- would have to detain Putin on arrival.

"The presidency wishes to clarify that South Africa remains a signatory (to the ICC)," Ramaphosa's office said in a late night statement.

It said the "clarification follows an error in a comment made during a media briefing held by the governing African National Congress (ANC)".

The ANC had earlier told journalists that the issue of South Africa withdrawing from the ICC had been raised at a weekend meeting of its national executive council.

Then, when questioned by a journalist during a joint media conference with the visiting President of Finland Sauli Niinisto, Ramaphosa said the ANC "has taken that decision that it is prudent that South Africa should pull out of the ICC".

The presidency said "regrettably" Ramaphosa had "erroneously affirmed a similar position" to the ruling party.

In another statement Tuesday night, the ANC said an "unintended impression may have been created that a categorical decision for an immediate withdrawal had been taken. This is not so."

It said the executive committee, the party's supreme decision-making body, had discussed the "unequal" and "often selective application of international law by the ICC".

- Putin welcome 'anytime' -


The arrest warrant against Putin followed accusations that the Kremlin unlawfully deported Ukrainian children.

On whether South Africa would arrest Putin, Ramaphosa said, "that matter is under consideration".

But his party's secretary general Fikile Mbalula earlier declared that "Putin can come anytime in this country".

Pretoria has close ties with Moscow dating back decades to when the Kremlin supported the ANC's fight against apartheid.

The continental powerhouse has refused to condemn the invasion of Ukraine which has largely isolated Moscow on the international stage, saying it wants to stay neutral and prefers dialogue to end the war.

South Africa has "adopted this stance of being non-aligned to ensure that we are able, as a country to play a role in helping conflict to come to an end," said Ramaphosa.

He said he had spoken to Putin several times and "my message has been clear. There needs to be negotiation".

Ramaphosa, who last year blamed NATO for the war in Ukraine, said he respected Finland's recent decision to join the military alliance.

"It's within Finland's right to decide to join NATO. We respect that and we accept that," said Ramaphosa as he hosted his Finnish counterpart who is in South Africa for a three-day state visit.

South Africa made an attempt to pull out of the ICC in 2016 following a dispute a year earlier when then-Sudanese President Omar al-Bashir visited the country for an African Union summit.

It refused to arrest him, despite him being the subject of an ICC arrest warrant for alleged war crimes.

The controversial decision to pull out was however revoked when a domestic court ruled such a move would have been unconstitutional.