Why pass such things? It's just another silly law to allow for applying another charge to someone during the arrest. In several cases you can see that the authorities slap on all kinds of charges in which most of them are eventually dropped. Kind like the throw pasts on the wall theory of law enforcement, something's bound to stick.
Plus it allows them to pick and choose who they arrest in any group when almost everyone in that group is possibly breaking a law they are not aware of.