Or at least, that is the premise of Anglo-American jurisprudence, which uses the same model.
That is at least the idea of law in Anglo-American society.