It’s the mayor’s choice to mass arrest people and send in water cannons. He could have facilitated the protes, in fact the the government is by law obligated to attempt to facilitate protests in the way the protestors intend to have them.
It’s telling that the prosecutor doesn’t even attempt to charge those arrested - they write on their own website that judges have ruled these protests to be peaceful and orderly.