In other words, a system of criminal laws always needs to be morally justified, even if it is only the idea that murder or rape should deserve damnation.
This connection is less evident in the Western legal system than in Islamic criminal law.