This chapter does not apply to: 1. The authorized agent and a servant of a person who has a license to purchase, sell, have, or possess a machine gun, submachine gun, fully automatic rifle, silencer, or a bomb loaded with explosives or poisonous or dangerous gases. 2. Any officer or member of a duly authorized military organization while on official duty and using the firearm or dangerous weapon issued to the officer or member by that organization. 3. A North Dakota law enforcement officer. 4. Any federal officer authorized by the federal government to have or possess a machine gun, submachine gun, fully automatic rifle, silencer, or bomb loaded with explosives or poisonous or dangerous gases.