Under Section 144 of Criminal Procedure Code (1973), a magistrate can restrain an assembly, meeting or procession if there is a risk of obstruction, annoyance or danger to human life, health or safety or a disturbance of the public tranquillity or a riot or any affray.