Section 132 of the Code of Criminal Procedure, 1973 provides protection against prosecution for acts done in good faith to disperse an unlawful assembly. Section 132(3) specifically states that "No prosecution shall be instituted in any Criminal Court against any person for any act done in good faith in pursuance of this section... (c) if such person is a member of the armed forces of the Union, without the sanction of the Central Government." In this scenario, the army officer is a member of the armed forces acting (though exceeding power) in the course of dispersing an unlawful assembly.