Every person subject to naval law, who,—
shall, if the offence is committed on active service or in a manner to show wilful defiance of authority, be punished with imprisonment for a term which may extend to ten years or such other punishment as is hereinafter mentioned and in other cases, be punished with imprisonment for a term which may extend to three years or such other punishment as is hereinafter mentioned.