Roman Catechism 23.3

Chapter 23 — Part III: The Decalogue — Introduction on the Commandments in General

Section 3. In the tribunal of penance the priest holds the place of a judge, and pronounces sentence according to the nature and gravity of the offence. Unless, therefore, he is desirous that his ignorance should prove an injury to himself and to others, he must bring with him to the discharge of this duty the greatest vigilance and the most practiced acquaintance with the interpretation of the law, in order to be able to pronounce, according to this divine rule, on every act and omission; and, as the Apostle says, to teach sound doctrine, free from error, and heal the diseases of the soul, which are sins, in order that the people may be acceptable to God, pursuers of good works.