A. A public officer or firearm dealer selling any firearm in New Mexico who enforces or attempts to enforce any act, law, statute, rule or regulation of the United States government relating to a personal firearm or firearm accessory, or to ammunition, that is owned or is manufactured commercially or privately in New Mexico, and that remains exclusively within the borders of New Mexico, is guilty of a third degree felony and shall be punished by a fine of not more than five thousand dollars ($5,000) or by imprisonment for a definite term not to exceed three years or both.
B. An official, agent or employee of the United States government who enforces or attempts to enforce any act, order, law, statute, rule or regulation of the United States government upon a personal firearm or firearm accessory, or upon ammunition, that is owned or is manufactured commercially or privately in New Mexico, and that remains exclusively within the borders of New Mexico, is guilty of a third degree felony and shall be punished by a fine of not more than five thousand dollars ($5,000) or by imprisonment for a definite term not to exceed three years or both.
C. The attorney general may defend a resident of New Mexico who is prosecuted by the United States government for violation of a federal law relating to the manufacture, sale, transfer or possession of a firearm or firearm accessory or of ammunition owned or manufactured and retained exclusively within the borders of New Mexico.