And the practical solution for the long term is to put an end to the obviously errant notion that priests must be celibate.
Removing celibacy would make the homosexuals and the perverts almost instantly visible.
For one thing, even "removing celibacy" as a requirement doesn't mean all the heterosexual priests are going to get married. Most of them would NOT--- and if they did, they would leave the priesthood. Why? Because they sure aren't going to bring wives into the rectories, and a priest's salary isn't sufficient to establish an independent household: it's not enough to house and support a wife and kids.
Besides, would you marry a man who would break a vow? If he would break that vow (already taken), why wouldn't he break a vow with YOU? The most important thing you would know about such a man, is that his sacred commitments are not sacred to him: his word is not his bond.
Other churches, with married clergy, have plenty of problems as well. If you think a homosexual wouldn't get married, and I mean to a woman, to keep covering up his sexual secrets, let me say two words: Eugene Robinson. Or four: Episcopal Bishop Eugene Robinson.
And they had already been turned in to the police by their bishops.
So howcome there were only two in the last 10 years, but hundreds farther back than that? Celibacy has been a constant throught that 70+ year period. Therefore variations are due to something other than celibacy.
Married priests are not the answer - https://www.catholicnewsagency.com/news/indiana-catholic-priest-charged-with-domestic-violence-against-wife-93829