“Retroactive” crime is as you say, ex post facto, and specifically disallowed by the US Constitution.