No one shall be sentenced for an offence, which, according to the law at the time it was committed, did not constitute a criminal offence.
A new law not incriminating an offence has retroactive effect. If the person has been sentenced, the enforcement of the sentence shall not commence and, if it has commenced, it shall cease.
If the law in force at the time when the criminal offence was committed and the subsequent law are different, the law, the provisions of which are more favorable to the person having committed the criminal offence, shall apply.