If any Magistrate not empowered by law to do any of the following things, namely:-
(a) to issue a search-warrant under section 94;
(b) to order, under section 155, the police to investigate an offence;
(c) to hold an inquest under section 176;
(d) to issue process under section 187, for the apprehension of a person within his local jurisdiction who has committed an offence outside the limits of such jurisdiction;
(e) to take cognizance of an offence under clause (a) or clause (b) of sub-section (1) of section 190;
(f) to make over a case under sub-section (2) of section 192;
(g) to tender a pardon under section 306;
(h) to recall a case and try it himself under section 410; or
(i) to sell property under section 458 or section 459,
erroneously in good faith does that thing, his proceedings shall not be set
aside merely on the ground of his not being so empowered.
Code of Criminal Procedure (CrPC)
451 CrPC Order for custody and disposal of property pending trial in certain cases
452 CrPC Order for disposal of property at conclusion of trial
453 CrPC Payment to innocent purchaser of money found on accused
454 CrPC Appeal against orders under section 452 or section 453
455 CrPC Destruction of libellous and other matter
456 CrPC Power to restore possession of immovable property
457 CrPC Procedure by police upon seizure of property
458 CrPC Procedure where no claimant appears within six months