Foreign ministers from the American continent have passed a motion backing the "inviolability of diplomatic missions" amid the row between the UK and Ecuador over Julian Assange.
The Wikileaks founder is in Ecuador's London embassy fighting extradition to Sweden over sexual assault claims, reports the BBC.
Ecuador called for the Organisation of American States vote saying the UK had threatened to storm the embassy.
But the resolution was reworded after the UK insisted it had made no threat.
The BBC's Kim Ghattas said the resolution expressed solidarity with Ecuador but, despite a strong plea from Ecuador's foreign minister, Ricardo Patino, there was no reference to any threat against his country's embassy in London.
The United States withdrew its opposition to the resolution after the text was amended.
Australian Assange, 41 - whose Wikileaks website has published a mass of leaked diplomatic cables embarrassing countries including the US - has been fighting extradition to Sweden saying he fears he will then be passed on to authorities in US.
In May the UK Supreme Court dismissed Assange's bid to reopen his appeal against extradition and gave him a two-week grace period - during which he entered Ecuador's embassy - before extradition proceedings could start.
The South American country announced it had granted Assange asylum on 16 August saying his human rights could be violated if he is sent to Sweden to be questioned over allegations that he sexually assaulted two ex-Wikileaks volunteers in Stockholm in 2010.
But the UK has said it will not allow him safe passage out of the country and has said it will follow its obligations, under the Extradition Act, to arrest Assange if he leaves the embassy.