Part I Fundamental rights and duties
Section II Rights, Freedoms, and Safeguards
Chapter I Personal Rights, Freedoms, and Safeguards
Article 29 Application of Criminal Law
3. No sentence or security measure shall be applied unless it is expressly sanctioned in a pre-existing law.
4. No one shall be the object of a sentence or security measure that is more severe than those provided for at the moment of the conduct in question, or at that at which the prerequisites for the application of such a measure were fulfilled. However, criminal laws the content of which is more favourable to the defendant shall be applied retroactively.
BOOK I-GENERAL PART
TITLE I-THE CRIMINAL LAW
SINGLE CHAPTER-GENERAL PRINCIPLES
Article 1
Principle of legality
1- An act may only be criminally punished if it was determined punishable by law before the act was committed.
2- Security measures may only be applied to cases of perilousness, if its conditions are determined by law previous to its fulfilment.
3- An appeal to analogy is not permitted to qualify an act as criminal, to define a case of perilousness, or to determine a penalty or a corresponding security measure.
A person convicted by the Court may be punished only in accordance with this Statute.