Section 27540 does not apply to the sale, delivery, or transfer of unloaded firearms by a dealer to a person who resides outside this state and is licensed pursuant to Chapter 44 (commencing with Section 921) of Title 18 of the United States Code and the regulations issued pursuant thereto.