For those who have studied the doctrine of the lesser magistrate—who knew that Calvin literally closes his Institutes of the Christian Religion with a statement of this doctrine? This from Institutes book 4 chapter 20, the final two sections:
But whatever may be thought of the acts of the men themselves, the Lord by their means equally executed his own work, when he broke the bloody sceptres of insolent kings, and overthrew their intolerable dominations. Let princes hear and be afraid; but let us at the same time guard most carefully against spurning or violating the venerable and majestic authority of rulers, an authority which God has sanctioned by the surest edicts, although those invested with it should be most unworthy of it, and, as far as in them lies, pollute it by their iniquity. Although the Lord takes vengeance on unbridled domination, let us not therefore suppose that that vengeance is committed to us, to whom no command has been given but to obey and suffer. I speak only of private men. For when popular magistrates have been appointed to curb the tyranny of kings (as the Ephori, who were opposed to kings among the Spartans, or Tribunes of the people to consuls among the Romans, or Demarchs to the senate among the Athenians; and perhaps there is something similar to this in the power exercised in each kingdom by the three orders, when they hold their primary diets). So far am I from forbidding these officially to check the undue license of kings, that if they connive at kings when they tyrannise and insult over the humbler of the people, I affirm that their dissimulation is not free from nefarious perfidy, because they fradulently betray the liberty of the people, while knowing that, by the ordinance of God, they are its appointed guardians.
But in that obedience which we hold to be due to the commands of rulers, we must always make the exception, nay, must be particularly careful that it is not incompatible with obedience to Him to whose will the wishes of all kings should be subject, to whose decrees their commands must yield, to whose majesty their sceptres must bow. And, indeed, how preposterous were it, in pleasing men, to incur the offence of Him for whose sake you obey men! The Lord, therefore, is King of kings. When he opens his sacred mouth, he alone is to be heard, instead of all and above all. We are subject to the men who rule over us, but subject only in the Lord. If they command anything against Him let us not pay the least regard to it, nor be moved by all the dignity which they possess as magistrates—a dignity to which no injury is done when it is subordinated to the special and truly supreme power of God. On this ground Daniel denies that he had sinned in any respect against the king when he refused to obey his impious decree (Dan. 6:22), because the king had exceeded his limits, and not only been injurious to men, but, by raising his horn against God, had virtually abrogated his own power. On the other hand, the Israelites are condemned for having too readily obeyed the impious edict of the king. For, when Jeroboam made the golden calf, they forsook the temple of God, and, in submissiveness to him, revolted to new superstitions (1 Kings 12:28). With the same facility posterity had bowed before the decrees of their kings. For this they are severely upbraided by the Prophet (Hosea 5:11). So far is the praise of modesty from being due to that pretence by which flattering courtiers cloak themselves, and deceive the simple, when they deny the lawfulness of declining anything imposed by their kings, as if the Lord had resigned his own rights to mortals by appointing them to rule over their fellows, or as if earthly power were diminished when it is subjected to its author, before whom even the principalities of heaven tremble as suppliants. I know the imminent peril to which subjects expose themselves by this firmness, kings being most indignant when they are contemned. As Solomon says, “The wrath of a king is as messengers of death” (Prov. 16:14). But since Peter, one of heaven’s heralds, has published the edict, “We ought to obey God rather than men” (Acts 5:29), let us console ourselves with the thought, that we are rendering the obedience which the Lord requires, when we endure anything rather than turn aside from piety. And that our courage may not fail, Paul stimulates us by the additional consideration (1 Cor. 7:23), that we were redeemed by Christ at the great price which our redemption cost him, in order that we might not yield a slavish obedience to the depraved wishes of men, far less do homage to their impiety.