Informal controls reward or punish acceptable or unacceptable behaviour (i.e., deviance) and are varied from individual to individual, group to group, and society to society.
We nonetheless insist that before the state can punish this miscreant, it must conduct a full-dress criminal trial that results in a verdict of guilty.