The UK is to allow Spanish border guards to check the passports of travellers to Gibraltar, under a deal with the EU to create an open land border with Spain.

The extra Spanish checks, to be carried out at the Rock's airport and port, have been confirmed in a 1,000-page draft treaty published on Thursday.

The agreement is designed to bring certainty to the British overseas territory nearly a decade after the Brexit vote threw its status into doubt.

It is due to come into force in April, when stricter controls at the border of the passport-free Schengen zone are due to come fully into force.

Under the deal, Gibraltar will not officially join the zone, made up of 29 mainly EU countries including Spain.