Catechism of the Catholic Church §2420 — excerpt
The Church makes a moral judgment about economic and social matters, "when the fundamental rights of the person or the salvation of souls requires it."
This translation is under copyright, so only the cited words are quoted here. Follow the link for the full text. Translation: English translation of the Catechism of the Catholic Church, 2nd ed. (Libreria Editrice Vaticana), as posted at vatican.va.
Also cites: GS 76 # 5
