The draft stipulated that: “After the United Kingdom leaves the Union, no agreement between the EU and the United Kingdom may apply to the territory of Gibraltar without agreement between the Kingdom of Spain and the United Kingdom.” The tiny Mediterranean peninsula has been governed by Britain since 1713 but is claimed by Spain, causing a number of disputes between the two countries over the centuries.