From what I can see, he kept to the absolute letter of the law, and still got punished. I have a lot of sympathy for people who strictly comply with the law and still get the book thrown at them.
Retrospective changes like this damage the UK's reputation in my view, it makes us look like an incompetent tinpot nation that isn't afraid to unilaterally screw people on obscure and ill defined criteria.