The law describes what rules and sentences must be applied in judicial trials.