Spain may get sign-off on Gibraltar Brexit deal