However, this paragraph (g) does not apply to: (1) the sale of a firearm to a law enforcement officer if the seller of the firearm knows that the person to whom he or she is selling the firearm is a law enforcement officer or the sale of a firearm to a person who desires to purchase a firearm for use in promoting the public interest incident to his or her employment as a bank guard, armed truck gu