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
- India magician disappears in river after Houdini trick
- Patient with 'Ebola-like symptoms' in Kenya
- Netanyahu's wife admits misusing public funds
- Roadside bomb kills several police officers in east Kenya
- Ivanka Trump, Jared Kushner took in at least $135m in 2019
- Hong Kong suspends controversial extradition bill after mass protests
- Outrage in Tanzania over wig and hair extension tax
- Christchuch attack suspect pleads not guilty
- Kenyan MP arrested 'for slapping female colleague'
- German court rules mass-killing of male chicks legal
- Mexico says sale of presidential plane will curb illegal migration
- Gabon appoints white British conservationist as forestry and environment minister
- Public protector confirms Ramaphosa is implicated in Bosasa probe
- Russia has dropped charges against a journalist after protests
- Trump accidentally reveals Mexico migrant plan