The expression "an officer exercising the powers of a Magistrate" in Section 35 of the Police Act means a Magistrate of the First Class only, not any person exercising some magisterial powers.
Mahendra Singh v. State of U. P. and others1956 AIR(ALD) 96; 1956 CrLJ 174para 11