Re: Attainder
"Both countries would also still be in breach of several international treaties, and the ECHR is probably the one which would have the most serious diplomatic consequences in the UK's case"
No, it would be ok because we would only be breaching those treaties in a very specific and limited way.
(Sarcasm, just in case it's not obvious).