(a) The provisions of § 22-4504(a), as they pertain to a pistol, and (a-1), shall not apply to:
(1) A person engaged in the business of manufacturing, repairing, or dealing in firearms, or their agents, employees, and representatives, who possess, carry, or use a pistol in the ordinary course of that business; or
(2) A person while carrying a pistol, transported in accordance with § 22-4504.02:
(A) From the place of purchase to the person's home or place of business;
(B) To a place of repair, or back from that place to the person's home or place of business;
(C) While moving goods from one place of abode or business to another; or
(D) To or from any lawful recreational firearm-related activity.
(1) The concealed carrying of a firearm by a qualified law enforcement officer who is carrying the identification required by 18 U.S.C. § 926B(d);
(2) The concealed carrying of a firearm by a qualified retired law enforcement officer who is carrying the identification required by 18 U.S.C. § 926C(d);
(3) Members of the Army, Navy, Air Force, or Marine Corps of the United States, or of the National Guard or Organized Reserves when on duty and duly authorized to carry a firearm; and
(4) Officers or employees of the United States when duly authorized to carry a firearm.
(c) For the purposes of this section, the term:
(1) "Qualified law enforcement officer" shall have the same meaning as provided in 18 U.S.C. § 926B(c) and (f).
(2) "Qualified retired law enforcement officer" shall have the same meaning as provided in 18 U.S.C. § 926C(c) and (e)(2).
(3) "Recreational firearm-related activity" includes a firearms training and safety class.