GIBRALTAR
In answer to my question, it is clear from the Foreign Secretary’s answer that Spanish border officials can prevent a UK citizen from entering one part of the UK from another part of the UK.
This appears to be a significant sovereign compromise.