(1) The punishment and its collateral consequences are determined
by the statute which was in force at the time of the act.
(2) If the statute was in the process of being amended at the
time of the commission of the crime, the statute will be applied
as it appeared on the books at the time the crime was completed.
(3) If the statute as it appeared at the completion of the crime
is amended prior to the judgment in the case, the most lenient
statute shall be applied.
(4) A statute whose validity was intended to expire at a particular
time shall be applied to crimes committed during the period of
its validity, even if it is no longer in force. This rule shall
not apply if a statute provides otherwise.
(5) The provisions of subparagraphs (1) to (4) shall correspondingly
apply to cases involving forfeiture, confiscation and destruction
of the instrumentalities of crimes.
(6) Unless otherwise provided by statute, measures of rehabilitation
and security shall be governed by the statute in force at the
time of the judgment.