“The law is obligated to punish the transgressor as much as the transgressor is obligated to obey the law — law has no option. Justice has but one function. The necessity of penalty is as great as the necessity of obligation. The law itself is under law; that is, it is under the necessity of its own nature; and therefore the only possible way whereby a transgressor can escape the penalty of the law, is for a substitute to endure it for him. The deep substrata and base of all God's ethical attributes are eternal law and impartial justice.”
Source: Dictionary of Burning Words of Brilliant Writers (1895), P. 267.
Help us to complete the source, original and additional information
William Greenough Thayer Shedd 5
American theologian 1820–1894Related quotes

“Honor in safety, survival under threat. Necessity is the only law.”
Source: The Stone Sky (2017), Chapter 9 “the desert, briefly, and you” (p. 231)

Gargantua and Pantagruel (1532–1564), Fifth Book (1564)

As quoted in “The Fascist Reform of the Penal Law in Italy,” Giulo Battaglin, Journal of Criminal Law and Criminology, Vol. 24, Issue 1, May-June, summer 1933, p. 286. Speech in the Senate (1925)
“Necessity gives the law without itself acknowledging one.”
Necessitas dat legem non ipsa accipit.
Maxim 444
Variant translation: Necessity knows no law except to conquer.
Necessitas non habet legem, "Necessity has no law", is apparently of medieval origin. See Necessity for further variants.
Sentences

“Third, and finally, the educated citizen has an obligation to uphold the law.”
1963, Address at Vanderbilt University
Context: Third, and finally, the educated citizen has an obligation to uphold the law. This is the obligation of every citizen in a free and peaceful society — but the educated citizen has a special responsibility by the virtue of his greater understanding. For whether he has ever studied history or current events, ethics or civics, the rules of a profession or the tools of a trade, he knows that only a respect for the law makes it possible for free men to dwell together in peace and progress.

“Necessity is the theme and the inventress, the eternal curb and law of nature.”
The Notebooks of Leonardo da Vinci (1883), XIX Philosophical Maxims. Morals. Polemics and Speculations.