A person cannot or should not face criminal punishment except for an act that was criminalized by law before he/she performed the act.
If the law as provided afterwards, such act is no more an offence, the person doing such act shall be relieved from being an offender.
The presumption of innocence
In the criminal case, the defendant will be assumed to innocent until proven guilty.