Ariz. Rev. Stat. § 22-402
C. Notwithstanding subsections A and B and in lieu of establishing or maintaining a municipal court, a city or town may enter into an intergovernmental agreement as authorized by title 11, chapter 7, article 3 to provide the services of a municipal court, including the jurisdiction of all cases arising under the ordinances of the city or town, with either: