"Taxpayers liable to PIT:
Individuals of Spanish nationality who accredit their new fiscal residence in a country or territory labelled as a tax haven will not lose their status as taxpayers for Individual Income Tax. This rule is of application during the tax period in which the change of residence occurs and for the next four tax periods."
https://www.oecd.org/tax/automatic-exchange/crs-implementati...