Pope Paul VI
Sacerdotalis Caelibatus §85
Sacerdotalis Caelibatus: On the Celibacy of the Priest
85 The dispensations which are granted after such considerations—a minimal percentage when they are compared with the great number of good, worthy priests—provide in justice for the spiritual salvation of the individual and show at the same time the Church's concern to safeguard celibacy and the complete fidelity of all her ministers. In granting such dispensations the Church always acts with heartfelt regret, especially in the particularly lamentable cases in which refusal to bear worthily this sweet yoke of Christ results from crises in faith, or moral weakness, and is thus frequently a failure in responsibility and a source of scandal to the Christian people.
Source: Sacerdotalis Caelibatus (Vatican.va)