Legal positivism is one side of the oldest argument in jurisprudence, and it is routinely misunderstood as the position that unjust laws must be obeyed. It is not. It is the claim that the existence of a law and its merit are different questions, and that running them together corrupts both.
Bentham set the terms. He separated expository jurisprudence, which describes what the law is, from censorial jurisprudence, which criticizes it, and dismissed natural rights as "nonsense upon stilts". His point was practical: a reformer needs to see the law clearly as it stands before condemning it, and a doctrine holding that unjust rules are not really law at all deprives the critic of a target. Austin systematized this into the command theory, law as the general commands of a sovereign habitually obeyed and backed by sanction, which was clear, teachable, and wrong in ways that took a century to state.
Kelsen built the most rigorous version, a pure theory purged of sociology and morality alike, in which validity comes only from a higher norm and the regress ends in a presupposed basic norm. Hart demolished Austin instead. A legal system is not a gunman writ large but a union of primary rules of obligation with secondary rules for recognizing, changing and adjudicating them, and its authority rests on officials accepting a rule of recognition from an internal point of view, not on fear of sanctions.
The stakes became concrete after 1945, when German courts had to decide whether Nazi statutes had been law. Hart argued they were law and should have been disobeyed; Radbruch and Fuller argued that rules so unjust forfeit legal character. Hart's answer is the harder one and, he thought, the more honest, because it forces the citizen to face disobedience as a moral choice instead of dissolving the conflict by definition.
