Any person subject to this Act who commits any of the following offences, that is to say,—
(A) if such officer is at the time in the execution of his office or, if the offence is committed on active duty, be liable to suffer imprisonment for a term which may extend to fourteen years or such less punishment as is in this Act mentioned; and
(B) in other cases, be liable to suffer imprisonment for a term which may extend to ten years or such less punishment as is in this Act mentioned:
Provided that in the case of any offence specified in clause (c), the imprisonment shall not exceed five years