11 In very truth, Jesus Christ gave to His Apostles unrestrained authority in regard to things sacred, together with the genuine and most true power of making laws, as also with the twofold right of judging and of punishing, which flow from that power. "All power is given to Me in heaven and on earth: going therefore teach all nations... teaching them to observe all things whatsoever I have commanded you."(12) And in another place: "If he will not hear them, tell the Church."(13) And again: "In readiness to revenge all disobedience."(14) And once more: "That... I may not deal more severely according to the power which the Lord bath given me, unto edification and not unto destruction."(15) Hence, it is the Church, and not the State, that is to be man's guide to heaven. It is to the Church that God has assigned the charge of seeing to, and legislating for, all that concerns religion; of teaching all nations; of spreading the Christian faith as widely as possible; in short, of administering freely and without hindrance, in accordance with her own judgment, all matters that fall within its competence.
Source: Immortale Dei (Vatican.va)