Stable and psychologically sound
We can all agree that only stable and psychologically sound men should be admitted to the seminary and ordained to the priesthood of our Lord and Savior, Jesus Christ.
Homosexuality is an objective disorder.
Someone with an objective disorder cannot be entirely stable and psychologically sound. Bishops should not admit them to ordination, as the Church said in 1961.
Now, someone who has homosexual temptations but sincerely resists them, tries to get rid of them and seeks to live chastely and stay in God's grace can be a good Catholic. But isn't it best for them to decide to live their Catholic lives in the lay state, not the clerical?
After all, if they "fall" when in the lay state, that gives far less scandal than if they "fall" after they have received Holy Orders.
What about someone who fights homosexual temptations who has already been ordained and is sincerely serving as a priest? The past cannot be undone, and they have received the Sacrament of Holy Orders. "Thou art a priest forever..."
With God's grace and their constantly renewed total devotion to their priesthood, they can think and live and act not as "gay" at all, but solely as priests of Jesus Christ. And God will bless them for their heroic virtue.
Other priests have to fight various temptations, such as booze and heterosexual lust.
But again, young men who are fighting homosexual temptations and are sincerely trying to discern their vocations should look elsewhere than the seminary and the priesthood.