(b)shall have such of the powers and duties of an ordinary Police-officer of like rank as are specially mentioned in the certificate referred to in clause (a) and shall, in the exercise or performance thereof, have the same protection and privileges, be amenable to the same penalties, and be subordinate to the same authorities as such officer.]