The International Court of Justice has laid down definitive maritime boundaries between Costa Rica and Nicaragua in the Caribbean Sea and Pacific Ocean and a small land boundary in a remote, disputed wetland.
As part of the complex ruling, the United Nations' highest judicial organ ruled that a Nicaraguan military base on part of the disputed coastline close to the mouth of the San Juan River is on Costa Rican territory and must be removed.
Ruling in two cases filed by Costa Rica, the 16-judge U.N. panel took into account the two countries' coastlines and some islands in drawing what it called ``equitable'' maritime borders that carved up the continental shelf underneath the Caribbean and Pacific.
Such rulings can affect issues including fishing rights and exploration for resources like oil.
Earlier, the court ordered Nicaragua to compensate Costa Rica for damage Nicaragua caused with unlawful construction work near the mouth of the San Juan River, the court's first foray into assessing costs for environmental damage.
The order by the United Nations' principal judicial organ followed a December 2015 ruling that Nicaragua violated Costa Rica's sovereignty by establishing a military camp and digging channels near the river, part of a long-running border dispute in the remote region on the shores of the Caribbean Sea.
In total, Nicaragua was ordered to pay just over $378,890 for environmental damage and other costs incurred by Costa Rica.
Decisions by the court based in The Hague, Netherlands, are final and legally binding.