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
- Man finds own amputated leg on cigarette packets without consent
- Trump sparks condemnation after supporters chant 'send her back'
- US honours Nigerian imam who hid Christians from killers
- Trump renews attacks on congresswomen of colour: ‘Let them leave’ America
- Kenya deports 17 foreign directors of betting firms
- Former president of ECOWAS Commission De Souza passes away
- Mexican drug lord El Chapo gets life in prison
- Africans 'twice as likely to be refused a UK visa'
- Tom Steyer: Trump 'has met' criteria for impeachment
- US House votes to condemn Trump's attacks on congresswomen
- Zuma says he received death threat after commission testimony
- I am not a racist - Trump insists
- Turkish sailors held hostage off Nigeria coast
- Shoppers find drug stash in their soap powder box
- Trump tweet row: Don't take the bait, congresswomen say