Whoever––
(a) takes or introduces, or attempts to take or introduce, any spirits or spirituous or fermented liquors or intoxicating drugs or preparations into any public hospitals without the permission of a medical officer of such hospital, or
(b) not being amenable to the Articles of war takes or introduces, or attempts to take or introduce, any such spirits, liquors, drugs or preparations not belonging to any person above the rank of a non-commissioned officer,