Argentina has announced the immediate evacuation of about 300 crew members from the ARA Libertad, a navy training ship seized in Africa nearly three weeks ago as collateral for unpaid bonds dating from the South American nation's economic crisis a decade ago.
Only the captain and a few other members of the crew of 326 sailors will remain on the three-masted tall ship, a symbol of Argentina's navy.
Argentinian president Cristina Fernandez de Kirchner decided to pull the rest out after failing to persuade authorities in Ghana to reverse a judge's decision to seize the ship.
The judge also refused to allow the ship to be refuelled, leaving it without power to maintain essential functions and respond to any onboard emergencies, the foreign ministry said.
"That made clear the judge's intention to obligate a sovereign nation to negotiate with an entity dedicated to financial piracy from its fiscal hideaway in the Caribbean. This is the only unacceptable option for Argentina," foreign minister Hector Timerman said.
The Ghanaian judge acted on a claim by NML Capital, which is based in the Cayman Islands.
Its owner, billionaire investor Paul Singer, leads a group demanding payment in full, plus interest, for dollar-based Argentinian bonds bought at fire sale prices after the country's economy collapsed a decade ago, forcing a sharp devaluation of its currency.
The vast majority of bondholders accepted about 30 cents on the dollar years ago, which is roughly what the holdouts led by Singer initially paid for the bonds.
NML Capital has said Argentina owes it about 350 million US dollars (£218 million), and offered to let the ship leave if Ms Kirchner's government put up a 20 million US dollar (£12 million) bond to be forfeited.
Mr Timerman called this "an attack that is nothing more or less than a kidnapping, an extortion and an act of piracy against a sovereign nation".
Argentina did not say how it would manage to evacuate the crew, which also includes sailors from Brazil, Chile, Uruguay, Paraguay, Venezuela, Ecuador, Bolivia and South Africa.