"(g) The following are exempt from the process outlined in this section:
(1) Sales or transfers to federal, state, and local law enforcement agencies.
(2) Sales or transfers to a federal firearms licensee.
(3) Sales or transfers to the United States military.
(4) Sales or transfers to a person who, in the same transaction, is separately purchasing a firearm and undergoing a state and federal firearm eligibility check pursuant to Section 28220.
(5) Sales or transfers to a federally licensed collector who is acquiring or being loaned the barrel of a firearm that is a curio or relic, as defined in Section 478.11 of Title 27 of the Code of Federal Regulations, who has a current certificate of eligibility issued by the department pursuant to Section 26710.
(6) Transfers to or from the public administrator, public guardian, public conservator, the executor, personal representative, guardian, conservator, or administrator of an estate. Any transfers or sales from these persons to any third party other than law enforcement or a licensed firearms dealer shall be conducted by a licensed firearms dealer and is subject to the requirements of this section.
(7) A barrel that is attached to or affixed to a firearm.
(8) The sale or other transfer of ownership of a firearm barrel if the sale or other transfer of ownership is to an authorized representative of a city, city and county, county, or state government, or of the federal government, and the entity is acquiring the firearm barrel as part of an authorized, voluntary program in which the entity is buying or receiving weapons from private individuals. All such barrels shall be disposed of pursuant to Sections 18000 and 18005."