Talks on rules governing the border of Spain and Gibraltar have been ongoing since Britain left the EU.