§ 2. Basis for punishment
(1) No one shall be convicted or punished for an act which was not an offence pursuant to the law applicable at the time of the commission of the act.
(2) A person shall be punished for an act if the act comprises the necessary elements of an offence, is unlawful and the person is guilty of commission of the offence.
(3) No one shall be punished more than once for the same offence, regardless of whether the punishment is imposed in Estonia or in another state.
(4) An act shall not be declared to be an offence by analogy in law.