Cuba has said that weapons found on a North Korean ship close to the Panama Canal are outdated Soviet-era arms, which the communist island had sent to Pyongyang for repair.
The declaration came late Tuesday -- a day after Panama said it had discovered military equipment, which it believed to be missiles, after impounding the vessel and conducting a drugs search.
Panama has urged UN inspectors to scrutinize the cargo, which could constitute a violation of the strict arms sanctions imposed on North Korea over its nuclear program.
However Cuba, one of North Korea's few allies, claimed the shipment as its own, with the foreign ministry listing 240 metric tons of "obsolete defensive weapons," including two anti-aircraft missile systems, as being on board.
There were also "nine missiles in parts and spares," various Mig-21 aircraft parts and 15 plane motors, "all of it manufactured in the mid-20th century" and "to be repaired and returned to Cuba."
"The agreements subscribed by Cuba in this field are supported by the need to maintain our defensive capacity in order to preserve national sovereignty," the ministry said in an English-language statement.
Panama President Ricardo Martinelli tweeted a photo of the haul, which experts earlier Tuesday identified as an ageing Soviet-built radar control system for surface-to-air missiles.
Martinelli's government said the munitions were hidden in a shipment of 220,000 pounds (100,000 kilograms) of bagged sugar aboard the North Korean-flagged Chong Chon Gang.
Panama Security Minister Jose Raul Mulino told RPC radio that the affair is now a matter for United Nations investigators.
South Korea welcomed the seizure.
"If the shipment turns out to be in breach of UN resolutions, we expect the UN Security Council's sanctions committee to take relevant steps expeditiously, said a foreign ministry official in Seoul.
The United States also hailed the discovery.
"We stand ready to cooperate with Panama should they request our assistance," State Department spokesman Patrick Ventrell said, reiterating that any shipments or "arms or related material" would violate several Security Council resolutions.
Defense and security consultants IHS Jane's said Tuesday that the photo tweeted by Martinelli appeared to show an "RSN-75 'Fan Song' fire-control radar system."
"One possibility is that Cuba could be sending the system to North Korea for an upgrade," the group said. "In this case, it would likely be returned to Cuba and the cargo of sugar could be a payment for the services."
The weapons were developed in 1957 and frequently used during the Vietnam War.
Panamanian officials said Monday that the crew resisted the search last Friday, and that the ship's captain attempted to commit suicide after the vessel was stopped.
It was sailing from Cuba towards the canal with a crew of about three dozen and was stopped by drug enforcement officials and taken into port in Manzanillo.
A Panama government spokesman said an examination of the ship by weapons specialists may take as long as a week.
"The world needs to sit up and take note: you cannot go around shipping undeclared weapons of war through the Panama Canal," Martinelli told Radio Panama Monday.
The vessel was being held in a restricted zone, and the crew had been detained, officials said. So far, no drugs have been found on board.
North Korea's army chief of staff, General Kyok Sik Kim, visited Cuba last month and said the two countries were "in the same trench."
North Korea carried out a third nuclear weapons test in February, triggering tighter UN sanctions.
Experts say it is unclear whether the North has the technology to build a nuclear warhead for a missile.
UN sanctions bar the transport of all weapons to and from North Korea apart from the import of small arms. Several of the country's ships have been searched in recent years.
In July 2009, a North Korean ship heading to Myanmar, the Kang Nam 1, was followed by the US Navy due to suspicions it was carrying weapons. It turned around and headed back home.
Pyongyang has yet to comment on the latest incident.
Five percent of the world's commerce travels through the century-old Panama Canal, with that is expected to increase following the completion of a major expansion project.