Brexit EU hands Spain power over Gibraltar