§ 1. Whoever has power to issue penal laws may also reinforce a divine law with a fitting penalty. § 2. A lower legislator, taking into account can. 1317, can also: 1° reinforce with a fitting penalty a law issued by a higher authority, observing the limits of his competence in respect of territory or persons; 2° add other penalties to those laid down for a certain offence in a universal law; 3° determine or make obligatory a penalty which a universal law establishes as indeterminate or discretionary. § 3. A law can either itself determine the penalty or leave its determination to the prudent decision of a judge.
Source: Code of Canon Law (Vatican.va)