Pope Paul VI
Sacerdotalis Caelibatus §64
Sacerdotalis Caelibatus: On the Celibacy of the Priest
64 Those who are discovered to be unfit for physical, psychological or moral reasons should be quickly removed from the path to the priesthood. Let educators appreciate that this is one of their very grave duties. They must neither indulge in false hopes and dangerous illusions nor permit the candidate to nourish these hopes in any way, with resultant damage to himself or to the Church. The life of the celibate priest, which engages the whole man so totally and so delicately, excludes in fact those of insufficient physical, psychic and moral qualifications. Nor should anyone pretend that grace supplies for the defects of nature in such a man.
Source: Sacerdotalis Caelibatus (Vatican.va)