The EU on Friday offered Spain veto rights over the future relationship between Gibraltar and the bloc after Brexit.