Re: @Ellier ... This will impact others as well
If it needs fixing, that's up to the legislature to do, but they can't do it retroactively. If your act was, by the wording and letter of the law, legal at the moment you did it, then it was legal period. Regardless of your intentions.
Dunno about UK and USA, but in Australia that is incorrect.
Is it possible to break a law that has not yet been made?In Australia the answer is yes.
Both State and Federal Parliaments have the power to create retrospective legislation: laws that are made ex post facto – after the fact – so that they apply to events in the past.