Homosexuals and homosexual pedophiles enter the Protestant ministry and the rabbinate as well. They take jobs as coaches, daycare workers, teachers, even ride operators at Disneyworld.
They will do anything to get near children. Many, many homosexuals and homosexual pedophiles are married.
Your argument seems to be that if priests are allowed to marry, then pedophiles will no longer be attracted to the priesthood. Wrong. As long as priests have access to children then homosexuals and homosexual pedophiles will try to sneak into the priesthood.
Before 1963, these problems were almost unheard of. There is a good reason for this. In those days, authority for selection of candidates was given to vocation masters who were themselves priests. They would evaluate candidates and reject anyone whom they thought was "funny".
This process was eliminated by liberals after 1963. Now evaluation is left to a secular psychologist instead of novice masters. The American Psychological Association has promoted sodomy and sexual license for decades and has lately gotten into the business of justifying pedophilia.
It is no wonder that so many APA-approved priests have such serious moral defects.
In short - Freud is wrong, not St. Paul.