Irregularities which do not vitiate proceedings
OF IRREGULAR PROCEEDINGS
If any Magistrate not empowered by law to do any of the following things, namely:–
to issue a search-warrant under section 98;
to order, under section 155, the police to investigate an offence;
to hold an inquest under section 176;
to issue process, under section 186, for the apprehension of a person within the local limits of his jurisdiction who has committed an offence outside such limits;
to take cognizance of an offence under section 190, sub-section (1), clause (a), or clause (b);
to transfer a case under section 192;
to tender a pardon under section 337 or section 338;
to sell property under section 524 or section 525; or
to withdraw a case and try it himself under section 528; erroneously in good faith does that thing, his proceedings shall not be set aside merely on the ground of his not being so empowered.