The first duty of a Magistrate taking cognizance of an offence on complaint is to examine the complainant upon oath, except when the complaint is made in writing and (a) by a Court or by a public servant acting or purporting to act in the discharge of his official duties, or (b) when a Judicial or Executive Magistrate empowered under sub-section...