Reading someone the Riot Act used to have a literal meaning that seems apropos:
The Riot Act (1714) (1 Geo.1 St.2 c.5) was an Act of the Parliament of Great Britain that authorised local authorities to declare any group of twelve or more people to be unlawfully assembled, and thus have to disperse or face punitive action. The Act, whose long title was “An act for preventing tumults and riotous assemblies, and for the more speedy and effectual punishing the rioters”, came into force on 1 August 1715, and remained on the statute books until 1973.
If the group failed to disperse within one hour, then anyone remaining gathered was guilty of a felony without benefit of clergy, punishable by death.
Benefit of clergy?
In English law, the benefit of clergy (Law Latin Privilegium clericale) was originally a provision by which clergymen could claim that they were outside the jurisdiction of the secular courts and be tried instead in an ecclesiastical court under canon law. Eventually, the course of history transformed it into a mechanism by which first-time offenders could receive a more lenient sentence for some lesser crimes.