As we all know, Europe is full of contradictions. Living in a country is a thing, working from it is another.
Spain for example:
https://www.seg-social.es/wps/portal...ngeLanguage=en
The employer must also request a SS number. I wish it will be easier but it is what it is...