South Africa is holding a joint military exercise with Russia and China that opposition figures say amounts to an endorsement of Russia's invasion of Ukraine.
The US has also criticised the 10-day naval drills, which will continue over the first anniversary of the war in Ukraine.
But South Africa's government says it remains neutral regarding the conflict, and that it routinely hosts similar drills with other countries, including France and the US.
The naval exercises, called Mosi, which means "smoke" in the Tswana language, are taking place in the Indian Ocean, off the South African coast.
The South African National Defence Force (SANDF) says 350 members of its armed forces will take part.
Russia has announced it will send its Admiral Gorshkov warship, which carries Zircon hypersonic missiles. These fly at nine times the speed of sound and have a range of 1,000 km (620 miles).
Moscow "will be trying to show that despite its setbacks in the war in Ukraine, its armed forces are still very powerful", says Denys Reva from South Africa's Institute for Security Studies.
The SANDF has said little about the forthcoming exercise, but a 2019 joint drill between the three countries involved seven ships - one warship from each nation, plus fuelling ships and survey ships.
They practised tackling coastal fires and floods, and recapturing ships from pirates.
A White House spokesperson said in January: "The United States has concerns about any country... exercising with Russia as Russia wages a brutal war against Ukraine."
South Africa previously abstained from a UN vote condemning the invasion. It also refused to join the US and Europe in imposing sanctions on Russia.
The South African government sparked a political row when it gave permission for a superyacht called the Nord, which is linked to the sanctioned Russian oligarch Alexey Mordashov, to dock in Cape Town - although it is thought the vessel did not actually go there.
The sanctioned Russian cargo ship, Lady R, was also allowed to unload supplies at a South African naval base. The government said it contained a delayed order for ammunition.
South Africa points out it has held four joint exercises with the US since 2011, as well as drills with France and Germany.
"All countries conduct military exercises with friends worldwide," said Foreign Minister Naledi Pandor, during a visit to her country by her Russian counterpart Sergey Lavrov in January.
She said that trying to stop South Africa from conducting joint military exercises with the countries of its choice amounted to "an abuse of international practice".
South Africa is also taking part because its armed forces are underfunded and overstretched, according to Elizabeth Sidiropoulos, head of the South African Institute of International Affairs.
The navy's priorities are to protect fisheries in its home waters and combat piracy in the Indian Ocean.
"It needs to team up with other nations to have the capacity to deal with things off its coast such as piracy," she says.
South Africa's governing African National Congress (ANC) also has long-standing ties with Russia.
These date back to the years of white-minority rule before 1994, says Dr Alex Vines from the Chatham House think-tank in London.
"The older leaders in the ANC still have an emotional attachment to Moscow, because it constantly supported their struggle," he says. "That makes it very difficult for South Africa to turn its back on Russia over Ukraine."
Russia, China and South Africa also have modern-day ties because they are all members of the Brics alliance.
The group - which also includes Brazil and India - represents some of the world's leading emerging economies.
Ms Sidiropoulos says Russia has more to gain than anyone from this year's exercise.
"It shows that Russia can still project its power far away, and that it still has allies around the world.
"It lets them say that it's not the world that's against Russia. Only the West is against Russia."
China is keen to keep shipping lanes open for commercial vessels travelling from its ports to African destinations, says Dr Vines.
It also wants to establish its naval power in the Indian Ocean, off the African coast.
"It's about getting its navy out into international waters.
"China already uses Djibouti on the East African coast as a naval base to combat piracy, and perhaps it is hoping to get more bases."