California Penal Code Section 12302

Nothing in this chapter shall prohibit the sale to, purchase by, or possession, transportation, storage, or use of, destructive devices or explosives by: (a) Any peace officer listed in Section 830.1 or 830.2, or any peace officer in the Department of Justice authorized by the Attorney General, while on duty and acting within the scope and course of his or her employment. (b) Any member of the Army, Navy, Air Force, or Marine Corps of the United States, or the National Guard, while on duty and acting within the scope and course of his or her employment. Nothing in this chapter prohibits the sale to, or the purchase, possession, transportation, storage, or use by any person who is a regularly employed and paid officer, employee, or member of a fire department or fire protection or firefighting agency of the federal government, the State of California, a city, county, city and county, district, or other public or municipal corporation or political subdivision of this state, while on duty and acting within the scope and course of his or her employment, of any equipment used by that department or agency in the course of fire suppression.