No person subject to [the Army Act, [the Army Act, 1950 (46 of 1950)], the Naval Discipline Act, [the Indian Navy (Discipline) Act, 1934 (34 of 1934)], [the Air Force Act or [the Air Force Act, 1950 (45 of 1950)]]], is subject to punishment under this Code for any of the offences defined in this Chapter
Whoever, not being a soldier, [sailor or airman] in the Military, [Naval or Air] service of the [Government of India], wears any garb or carries any token resembling any garb or token used by such a soldier, [sailor or airman] with the intention that it may be believed that he is such a soldier, [sailor or airman], shall be punished with imprisonment of either description for a term which may extend to three months, or with fine which may extend to five hundred rupees, or with both.
An assembly of five or more persons is designated an "unlawful assembly", if the common object of the persons composing that assembly is-
First.-To overawe by criminal force, or show of criminal force, [the Central or any State Government or Parliament or the Legislature of any State], or any public servant in the exercise of the lawful power of such public servant; or
Second.-To resist the execution of any law, or of any legal process; or
Third.-To commit any mischief or criminal trespass, or other offence; or
Fourth.-By means of criminal force, or show of criminal force, to any person to take or obtain possession of any property, or to deprive any person of the enjoyment of a right of way, or of the use of water or other incorporeal right of which he is in possession or enjoyment, or to enforce any right or supposed right; or
Fifth.-By means of criminal force, or show of criminal force, to compel any person to do what he is not legally bound to do, or to omit to do what he is legally entitled to do.