Every Inspector appointed under Section 29 shall be deemed to be a public servant within the meaning of Section 21 of the Indian Penal Code.