Easily. They're human. There's no "infallibility" at issue here if that's what you're getting at.
Otherwise, the Church is fallible.
For example, the Catholic Church states that abortion is wrong from a point of "infallibility".
But if a particular "liberal" nun has an abortion, then that does not infallibility of the Church invalid.
It is doctrine [and teaching] that is meant to be infallible.
A better example was when Pope John Paul II spoke out against the invasion of Iraq. He was voicing his concerns and the concerns of the Church. But it was not from a position of infallibility.
I know all humans are fallible. I was simply pointing out that just as Roman Catholics point out that there are false doctrines and “sinners” among those in Evangelical churches, there are false doctrines and “sinners” among those in Roman Catholic churches. People in glass houses and all that ...