The IPC 1860 was replaced by the BNS 2023 (in force 2024-07-01); no verified section mapping on file for Section 171 — confirm the corresponding provision (savings: Section 358, BNS 2023).
Whoever, not belonging to a certain class of public servants, wears any garb or carries any token resembling any garb or token used by that class of public servants, with the intention that it may be believed, or with the knowledge that it is likely to be believed, that he belongs to that class of public servants, shall be punished with imprisonment of either description for a term which may extend to three months, or with fine which may extend to two hundred rupees, or with both. CLASSIFICATION OF OFFENCE Punishment--Imprisonment for 3 months, or fine of 200 rupees, or both--Cognizable--Bailable--Triable by any Magistrate--Non-compoundable.