An analysis of Star Wars: Episode III from the PunditGuy purports to explain that the central plot element concerning the hidden relationship between Anakin and Padme is akin to the problems regarding celibacy and chastity in the Catholic priesthood. He says:
When a woman comes between a Jedi, a wedge is driven between the Jedi and his fellow Jedi’s. The will of the council cannot be done. The mission of the council cannot be completed. The Jedi who is involved with a woman focuses completely on her, and not on the needs of others. As she demands more from him, he begins to think only about her and his life with her. He is unable to think and care for others in an equal way. He has become selfish and cannot be a Jedi Master.
Later he adds:
While celibate, a priest can do the will of the church. They can selflessly serve their catholic parishioners. Once they break their celibacy and give way to homosexual urges, they become focused on it and cannot effectively serve the church any longer. They hide their character from the church, just like Anakin hides his marriage and fatherhood from the Jedi council. They know that if the Catholic church finds out about their homosexuality, they can no longer serve as a priest. They become more selfish and think only of themselves, of feeding their urges. They no longer care about their victims.
I would agree, but would not limit this only to homosexual priests. Any priest who breaks his vow of celibacy and violates chastity (because one can be unchaste while remaining celibate) has the same problems he describes. When they give in to their sexual urges