507. If any Magistrate, not being empowered by law in this behalf, does any of the following things, namely:-
(a) attaches and sells property under section 85;
(b) issues a search-warrant for a document, parcel or other things in the custody of a postal authority;
(c) demands security to keep the peace;
(d) demands security for good behaviour;
(e) discharges a person lawfully bound to be of good behaviour;
(f) cancels a bond to keep the peace;
(g) makes an order for maintenance;
(h) makes an order under section 152 as to a local nuisance;
(i) prohibits, under section 162, the repetition or continuance of a public nuisance;
(j) makes an order under Part C or Part D of Chapter XI;
(k) takes cognizance of an offence under clause (c) of sub-section (1) of section 210;
(l) tries an offender;
(m) tries an offender summarily;
(n) passes a sentence, under section 364, on proceedings recorded by another Magistrate;
(o) decides an appeal;
(p) calls, under section 438, for proceedings; or
(q) revises an
order passed under section 491, his proceedings shall be void.
Bharatiya Nagarik Suraksha Sanhita, 2023
Section 501 Destruction of libellous and other matter
Section 502 Power to restore possession of immovable property
Section 503 Procedure by police upon seizure of property
Section 504 Procedure where no claimant appears within six months
Section 505 Power to sell perishable property
Section 506 Irregularities which do not vitiate proceedings
Section 507 Irregularities which vitiate proceedings
Section 508 Proceedings in wrong place
Section 509 Noncompliance with provisions of section 183 or section 316
Section 510 Effect of omission to frame, or absence of, or error in, charge