Spain sets Brexit challenge with Gibraltar demands