(ii) a rifle or shotgun for lawful use as authorized by article eleven of the environmental conservation law when such person less than eighteen years of age is the holder of a hunting license or permit and such rifle or shotgun is used in accordance with such law.
Failure to safely store rifles, shotguns, and firearms in the first degree is a class A misdemeanor.