Roman Catechism 11.22

Chapter 11 — Part I: The Creed — Article IX: The Holy Catholic Church; the Communion of Saints

Section 22. But with regard to the rest, however wicked and evil they may be, it is certain that they still belong to the Church: Of this the faithful are frequently to be reminded, in order to be convinced that, were even the lives of her ministers debased by crime, they are still within the Church, and therefore lose nothing of their power.