Any peace officer, as defined in subdivisions (a) and (b) of Section 830.32, who takes custody of a firearm or deadly weapon pursuant to this division, shall deliver the firearm within 24 hours to the city police department or county sheriff’s office in the jurisdiction where the college or school is located.