Celibate priests, both heterosexual and those priests with “gay” inclinations, are equally recieved in good standing on the condition of celibacy, and their priestly promise for remaining celibate.
Betrayal to the priestly promise occasionally occurs in both cases, among heterosexual and gay priests. The punishment is intently equal to both types.
The celibacy requirement is something which needs to be reviewed.
It certainly does not apply to all Catholic priests. Priests in Eastern Europe and the Middle East, for example are permitted to be married as are married priests who came over from the Episcopalian Church.
There is absolutely NOTHING in the Bible mandating compulsory clerical celibacy.
Also, as Pope Francis has pointed out, celibacy is a discipline, not a doctrine and the policy is also subject to change. The Pope also pointed out that the policy was initiated many centuries after the founding of the Church.