It does matter because the church considers it a sin AND a mental disorder.
It promotes the homosexual as a role model. Homosexuality is a behavior to be repudiated.
If you're not doing the behavior, then it is the same as a heterosexual priest not doing heterosexual behavior.
Do they ban priests with other mental disorders, say paranoia or depression?
All I'm saying is that if you're taking your vows seriously, it shouldn't matter because you would not be doing ANY sexual behaviour. How would anyone know?