The scenario described above is an example of EX POST FACTO LAW. Ex post facto law is defined as a law which makes illegal an act that was legal when committed, increase the penalties for an infraction after it has been committed or change the rule of evidence to make conviction easier. Typically, constitutions normally prohibits the enactment of ex post facto laws.