A municipality or school district may elect to become subject to the jurisdiction of the ombudsman appointed under this chapter. If a municipality or school district so elects, it shall notify the ombudsman of that election and shall thereafter be considered an agency for the purposes of this chapter. If a municipality or school district subjects itself to the jurisdiction of the ombudsman, the municipality or school district shall pay its pro rata share of the cost of the operation of the office of the ombudsman based on the number of complaints or the case load emanating from that municipality or school district, as prescribed by the ombudsman. If a municipality or school district elects to remove itself from the jurisdiction of the ombudsman, it shall notify the ombudsman of that election and shall not thereafter be considered an agency for the purposes of this chapter. A municipality that elects to become subject to the jurisdiction of the ombudsman or to remove itself from that jurisdiction must do so by ordinance. A school district that elects to become subject to the jurisdiction of the ombudsman or to remove itself from that jurisdiction must do so by resolution.