Law is a way for people in power to test how intelligent a person is.
Depending upon a particular person's level of intelligence the power people will punish that person in a manner that it deems appropriate in order to be able to control that person with the least effort possible.
Psychology, or the process of "Casting Spells" (i.e. witch craft or sorcery), is the method that requires the least amount of effort because words and concepts are easier to apply than physical force. Depending upon a person's intelligence, a physically weak person can use leverage to overpower the mind of a physically stronger person or group by simply applying strategic word usage.