33220. Section 33215 does not apply to either of the following:

(a) The sale to, purchase by, or possession of short-barreled rifles or short-barreled shotguns by a police department, sheriff’s office, marshal’s office, district attorney’s office, the California Highway Patrol, the Department of Justice, the Department of Corrections and Rehabilitation, or the military or naval forces of this state or of the United States, for use in the discharge of their official duties.