I think he has heard of it. He's making a case for how things should be not how things are. And his point is consistent with Socrates, who chose to live in compliance with the law even though it meant his death; and with Lincoln, who famously said "The best way to get a bad law repealed is to enforce it strictly." Not bad company.