Cal. Bus. & Prof. Code § 7597.1
(b) Subdivision (a) shall not apply to a duly appointed peace officer, as defined in Chapter 4.5 (commencing with Section 830) of Title 3 of Part 2 of the Penal Code, or a federal qualified law enforcement officer, as defined in Section 926B of Title 18 of the United States Code, who meets all of the following: