Gibraltar threatens to sour Spanish royals' UK visit