???? You sure re Gibraltar (let alone Falklands)? The Poms have long told the cow stabbers to get stuffed for a variety of reasons not least the Royal Navy..
Would be wrong to besmirch the good name of the whole civil service, but it was my understanding that back in Blair's day the UK was significantly down the line of at least entering some sort of secret shared sovereignty deal with Spain, a deal that had a lot of support within the Foreign Office but not with the Gibraltarians themselves.
Similar with the Falklands and the want of the Foreign Office for Hong Kong-style 99 year leaseback in the 1970's (though they might have been on to something with that one. Could have saved 1000+ lives. Will never happen now)