Alistair Burt MP, Foreign & Commonwealth Office Parliamentary Under Secretary of State, rebutted comments made by Spanish officials, who claimed that the row over Gibraltar could be escalated to the United Nations.
Mr Burt said the United Kingdom was very confident that "self determination matters to the UN" as much as "territorial integrity".
He added: "We are confident, firstly of the support of the people of Gibraltar, who want to remain British. We are confident of our legal position, and you always judge friends by the company they keep."
More top news
Uber may have broken UK law when it hushed up a major hack affecting 57 million customers and drivers worldwide, a minister has said.
The UN has described the treatment of Rohingya Muslims in Myanmar as a 'textbook case of ethnic cleansing'.
A UK study will explore whether dementia is more common in ex-professional footballers than in the normal population.