Alaska Stat. § 12.25.180
(a) When a peace officer stops or contacts a person for the commission of a class C felony offense, a misdemeanor, or the violation of a municipal ordinance, the officer may, in the officer's discretion, issue a citation to the person instead of taking the person before a judge or magistrate under AS 12.25.150, except the officer may arrest if
(b) When a peace officer stops or contacts a person for the commission of an infraction or a violation, the officer shall issue a citation instead of taking the person before a judge or magistrate under AS 12.25.150, except the officer may arrest if