Minn. Stat. § 388.051
Subd. 1. General provisions.
The county attorney shall:
Subd. 2. Special provisions.
Subd. 3. Charging and plea negotiation policies and practices; written guidelines required.
(a) On or before January 1, 1995, each county attorney shall adopt written guidelines governing the county attorney's charging and plea negotiation policies and practices. The guidelines shall address, but need not be limited to, the following matters:
Subd. 4. Firearms exemption.
Notwithstanding section 626.84, subdivision 2, a county attorney, or an assistant county attorney appointed under section 388.10, who lawfully possesses a permit to carry a pistol issued in accordance with section 624.714 may possess and carry a firearm while on duty, unless restricted by the county attorney.