12. Punishment for Offence against public servant. -

(a) if such offence is punishable with death or imprisonment for life under the Indian Penal Code be punished with the punishment provided for the offence in the said Code, and
(b) in other cases be punished with imprisonment which may extend to ten years and with fine.