That's correct, exactly. It is intended to deal with those kinds of situations where any kind of public gathering has become an unlawful assembly or a riot, because that's when the public has reason to be afraid and when police need the ability to protect public safety.
On May 1st, 2012. See this statement in context.