Section 3 If the law in force at the time of committing the offence is different from that in force after the time of committing the offence, the law which is, in any way, more favorable to the offender, shall be applied, unless the case is final. But, in the case where it is final as follows: