Section 70A. Any gas company desiring to lay a main for the transmission of gas which will of necessity pass through one or more cities or towns to connect the termini of such main, whose petition for the location necessary for such main has been refused, or has not been granted within three months after the filing thereof by the board of aldermen of a city or the selectmen of a town through which said company intends to construct such main for the purpose aforesaid, may apply to said department for such location. The department shall give a public hearing thereon after notice to the board of aldermen or selectmen refusing or neglecting to grant such location, and to all persons owning real estate abutting upon any way in the city or town where such location is sought, as such ownership is determined by the last assessment for taxation. The department shall, if requested by the board of aldermen or selectmen, hold said hearing in the city or town where the location is sought. If it appears at the hearing that the company has already been granted and has accepted a location for such main in two cities, or in two towns, or in a city and town, adjoining the city or town because of the refusal or neglect of whose board of aldermen or selectmen to grant a location therefor the application is made, and if the department deems the location necessary for public convenience, and in the public interest, it may by order grant a location for such main in the city or town with respect to which the application is made, and shall have and exercise relative thereto the same powers and authority conferred by section seventy upon the board of aldermen or selectmen, and in addition to the provisions of law governing such company may impose such other terms, limitations and restrictions as it deems public interest may require. The department shall cause an attested copy of its order, with the certificate of its clerk, endorsed thereon, that the order was adopted after due notice and a public hearing as hereinbefore prescribed, to be forwarded to the city or town clerk, who shall record the same and furnish attested copies thereof. The company in whose favor the order is made shall pay for such record and attested copies thereof the fees provided by clauses (34) and (35), respectively, of section thirty-four of chapter two hundred and sixty-two.