ex post facto laws — Legal Definition, Examples & Cases