If a borough desires to connect with the existing sanitary sewer of an adjacent municipality and no agreement, either upon the basis of a rental payment for the use of an existing sanitary sewer or a division of the cost of the construction or maintenance of the sanitary sewer, has been reached between the borough and the adjacent municipality, an application shall be made by council to the court of common pleas of the county where the proposed connection is to be located, setting forth that fact.
8 Pa.C.S. § 2024