Spain warns of ‘hard Brexit’ possibility in Gibraltar