In many Western countries, some demonstrations are not authorized.
Usually, people comply, adress the issues ( lack of security), then reapply to be allowed to demonstrate, then
get their authorization, and demonstrate. Why couldn't the demonstrators hire some lawyers to get their authorization...