Every person subject to naval law who commits any of the following offences, that is to say,—
shall be punished,—
if the offence is committed on active service with imprisonment for a term which may extend to ten years or such other punishment as is hereinafter mentioned; and
in any other case, with imprisonment for a term which may extend to five years or such other punishment as is hereinafter mentioned.