It is unlawful for any official, agent or employee of the government of the United States, or employee of a corporation providing services to the government of the United States to enforce or attempt to enforce any act, law, treaty, order, rule or regulation of the government of the United States regarding a firearm, a firearm accessory, or ammunition that is manufactured commercially or privately and owned in the state of Kansas and that remains within the borders of Kansas. Violation of this section is a severity level 10 nonperson felony. Any criminal prosecution for a violation of this section shall be commenced by service of complaint and summons upon such official, agent or employee. Such official, agent or employee shall not be arrested or otherwise detained prior to, or during the pendency of, any trial for a violation of this section.
K.S.A. 50-1207