If the council considers it in the public interest, the village may purchase or construct and may maintain a water works beyond the corporate limits of the village. In such case the council may enforce beyond the corporate limits of the village, have control over the buildings, machinery, and other property belonging to and connected with the water works, in the same manner and to the same extent as if located within the village, and adopt and enforce ordinances and police regulations as may be necessary for the care, protection, preservation, management, and control of the water works. However, nothing in this section prohibits another local governmental unit from enforcing its ordinances within its limits.