Historically, it was the other way round. An immigrant only became an expatriate if they took on the citizenship of their host county.
I know that expatriate can colloquially mean a person temporarily abroad, but in this context, it refers to immigrants to Spain who generally intended to stay permanently.