Unless the law provides otherwise, the provisions of the new law on time limits for prosecution and the execution of sentences and measures, if they are less strict, also apply to offenders who have committed offences or been convicted before the this Code comes into force.