The future of the 365,967 Brits living in Spain will now depend on how the 180,000 Spaniards living in the UK are treated by the British government.