I would not have been revoked if it wasn’t illegal.
You can redefine, or re-interpret the law later to make something _now_ illegal, but that absolutely does not mean it was illegal at the time. That's 1984-style history rewriting.
Kid asked dad if he can get a candy after mom said no. Then started crying when mom came and said it's not allowed.