We were considering moving the company to Spain after Brexit but the reputation of the Spanish tax office as extremely bureaucratic and unfair is a huge deterrent.
Purportedly they can fine you tens of thousands of euros for tiny honest mistakes even if you don't owe one cent of tax (Modelo 720).