The trap explained in two paragraphs
You sell your UK home in the year after you move to Spain. You assume UK Principal Private Residence Relief shelters the gain. You report it to HMRC and pay zero UK CGT. You then file your Spanish tax return for that year and discover that Spain, under the UK-Spain double tax treaty, has primary taxing rights on the gain. Spain does not recognise UK PPR. You owe Spain CGT on a gain you thought was tax-free.
On a typical British move with £400k of unrealised gain on the UK home accumulated over 15 years, this mistake costs €80,000-€110,000 in Spanish CGT. It is the single most expensive year-one error in our case histories.