The UN has passed a resolution demanding the UK return control of the Chagos Islands to Mauritius.
In the non-binding vote in the General Assembly in New York, 116 states were in favour and only six against, a major diplomatic blow to the UK.
Fifty-six states, including France and Germany, abstained.
Mauritius says it was forced to give up the Indian Ocean group - now a British overseas territory - in 1965 in exchange for independence.
In a statement to the BBC, the UK's Foreign and Commonwealth Office (FCO) said Britain did not recognise Mauritius' claim to sovereignty but would stand by an earlier commitment to hand over control of the islands to Mauritius when they were no longer needed for defence purposes.
The US, Hungary, Israel, Australia and the Maldives were the states voting with the UK against the resolution.
It comes months after the UN's high court advised that the UK should leave the islands "as rapidly as possible".
Britain purchased the Chagos Archipelago from Mauritius in 1965 for £3m, creating a region known as the British Indian Ocean Territory.
Between 1967 and 1973, it evicted the islands' entire population to make way for a joint military base with the US, which is still in place on Diego Garcia.
US planes have been sent from the base to bomb Afghanistan and Iraq. The facility was also reportedly used as a "black site" by the CIA to interrogate terrorism suspects. In 2016, the lease for the base was extended until 2036.
"The joint UK-US defence facility on the British Indian Ocean Territory helps to keep people in Britain and around the world safe from terrorism, organised crime and piracy," the FCO said.
Before Wednesday's vote, Mauritian Prime Minister Pravid Kumar Jug-Nauth told the General Assembly the forcible eviction of Chagossians was akin to a crime against humanity.
However, he said Mauritius would allow the military base to continue operating "in accordance with international law", if it were given control of the islands.
Mr Jug-Nauth said this would give the facility a "higher degree of legal certainty" for the future.
The UK has maintained that Mauritius gave up the territory freely in return for a range of benefits.
Ambassador Pierce has insisted that the issue should be resolved only by the countries involved.
Have your say
More World Headlines
- Kenya's love-hate relationship with Chinese traders
- Ethiopia 'coup ringleader killed'
- Zimbabwe bans use of foreign currencies
- Aksum: The holy city where mosques are banned
- Iran: New US sanctions target Supreme Leader Khamenei
- Sudan crisis: Internet restored - but only for lawyer
- Woman wakes up alone on dark, parked plane
- Jihadists kill 7 Chadian soldiers, local guard in ambush
- Man ordered to compensate ex-wife for 27 years of house chores
- US 'launched cyber-attack on Iran weapons systems'
- Ethiopia army chief shot dead in 'coup bid' attacks
- Ugandan activist to be prosecuted over president's mother
- Harry and Meghan split from William and Kate joint charity
- Gunmen kill dozens in 'terrorist' Mali attack
- Biden refuses to apologise for working with racist senators