For the suppression or dispersion of a riotous or unlawful assembly, reasonable force may be used subject to the provisions of this Code with respect to riotous or unlawful assembly.