UNITED NATIONS — Britain lost a seat on the International Court of Justice on Monday for the first time since the tribunal started work in 1946, a setback seen by some diplomats and commentators as the result of waning international influence following its vote to leave the European Union.

Based at The Hague, Netherlands, the 15-member world court is the U.N.’s top judicial organ and its job is to settle disputes between countries.

Five judges are elected every three years and serve for nine years.

After four rounds of voting, Ronny Abraham of France, Abdulqawi Ahmed Yusuf of Somalia, Antonio Augusto Cancado Trindade of Brazil and Nawaf Salam of Lebanon were elected Thursday by required majorities in both the General Assembly and Security Council.

Britain’s Christopher Greenwood and India’s Dalveer Bhandari, both running for re-election to the court, were forced into a runoff for the fifth seat because Greenwood had the required majority in the 15-member Security Council while Bhandari topped the vote in the 193-member General Assembly.

But Bhandari’s support was gaining while Greenwood’s was diminishing, apparently leading the British judge to drop out.

Bhandari was then easily elected Monday by both the assembly and the council.

“We are naturally disappointed,” Britain’s U.N. ambassador, Matthew Rycroft, said, “but it was a competitive field with six strong candidates.”

He said the United Kingdom will continue to support the court’s work “in line with our commitment to the importance of the rule of law.”

Before the vote, Britain’s Guardian newspaper said that “losing a British presence on the court would be an international political embarrassment.”

A Greenwood loss “will be interpreted as a blow to the U.K.’s international standing post-Brexit,” the paper said. It will also demonstrate “the increasingly limited diplomatic influence wielded by the British foreign secretary, Boris Johnson, at the U.N.”