It doesn’t if they have not accepted Christ. Does not matter how good they were/are.
Er... when you say “It doesnt...”, to what are you referring, and in what context? And who said anything about “how good” anyone is? I didn’t...
...and on that point: what makes you think that any particular clergy member of the Catholic Church has NOT accepted Christ? I certainly have, and I’m not even a clergy member...