He was sentenced to jail because he made a deal with someone privately rather than in accordance with the legal procedures while handling purchasing matters.
Cantonese
入狱嘅时候,男犯人要先剪头发。
入獄嘅時候,男犯人要先剪頭髮。
Male criminals need to cut their hair when getting into prison.