Except as provided in ORS 3.136, any city situated wholly or in largest part within the boundaries of a justice of the peace district may enter into an agreement pursuant to ORS 190.010 with the county in which the justice of the peace district is located providing that the justice court for the district shall have all judicial jurisdiction, authority, powers, functions and duties of the municipal court of the city and the judges thereof with respect to all or any violations of the charter or ordinances of the city.
ORS 51.035