(a) Unless there is a written agreement between the political subdivisions establishing the rules for conducting these activities, the provisions of paragraphs (b) to (e) shall apply while the political subdivisions are engaged in the activities described in subdivision 1.