WCF 20.4.
And because the powers which God hath ordained, and the liberty which Christ hath purchased, are not intended by God to destroy, but mutually to uphold and preserve one another, they who, upon pretence of Christian liberty, shall oppose any lawful power, or the lawful exercise of it, whether it be civil or ecclesiastical, resist the ordinance of God. (Matt. 12:25, 1 Pet. 2:13–14, 16, Rom. 13:1–8, Heb. 13:17) And, for their publishing of such opinions, or maintaining of such practices, as are contrary to the light of nature, or to the known principles of Christianity (whether concerning faith, worship, or conversation), or to the power of godliness; or, such erroneous opinions or practices, as either in their own nature, or in the manner of publishing or maintaining them, are destructive to the external peace and order which Christ hath established in the Church, they may lawfully be called to account, and proceeded against, by the censures of the Church. (Rom. 1:32, 1 Cor. 5:1, 5, 11, 13, 2 John 1:10–11, 2 Thess. 3:14, 1 Tim. 6:3–5, Tit. 1:10–11, 13, Tit. 3:10, Matt. 18:15–17, 1 Tim. 1:19–20, Rev. 2:2, 14–15, 20, Rev. 3:9)