No person may be tried or punished for any offense provided for in Kan. Stat. Ann. §§ 48-3002 to 48-3044, inclusive, unless it was committed while the person was in a duty or technician status.