Laws that permit conviction and punishment for a lawful act performed before the law was changed and the act made illegal. Ex post facto laws that criminalize an action are prohibited by the US Constitution, but ex post facto laws imposing civil liability may be allowed.