10 In presence of such perversity of thought and of action, subversive of the very constitution of human society, it would not be right for Us, to whom is divinely committed the teaching of the truth, to keep silence: and We remind the peoples of the earth of that doctrine, which no human opinions can change: "There is no power but from God: and those that are, are ordained of God" ( Rom . xiii 1). Whatever power then is exercised amongst men, whether that of the King or that of an inferior authority, it has its origin from God. Hence St. Paul lays down the obligation of obeying the commands of those in authority, not in any kind of way, but religiously, that is conscientiously - unless their commands are against the laws of God: "Wherefore be not subject of necessity, not only for wrath, but also for conscience' sake" ( Rom . xiii. 5). In harmony with the words of St. Paul are the words of the Prince of the Apostles himself: "Be ye subject of every human creature for God's sake: whether it be the King as excelling, or to governors as sent by him" (I Peter ii. 13-14). From which principle the Apostle of the Gentiles infers that he who contumaciously resists the legitimate exercise of human authority, resists God and is preparing for himself eternal punishment: "Therefore he that resisteth the power, resisteth the ordinance of God, and they that resist, purchase to themselves damnation" ( Rom . xiii. 2).
Source: Ad Beatissimi Apostolorum (Vatican.va)