3-b. The construction, use and maintenance by an electric corporation of transmission, distribution and service lines and wires in, over or under any street, highway or public place and the construction, use and maintenance by a gas corporation of transmission, distribution and service pipes, conduits, ducts or other fixtures in, over or under any trees, highway or public place, as may be necessary for its corporate purposes, are hereby declared to be public uses and purposes.
Where any person or corporation other than the state, a political subdivision thereof, or a municipality is the owner of any right, title or interest in or to any street, highway or public place, or in or to the land on which the street, highway or public place is located, an electric corporation or a gas corporation is hereby authorized and empowered to acquire the right to construct, use and maintain such lines or wires and such pipes, conduits, ducts or other fixtures, in, over or under such street, highway or public place, from such owner or owners, by petition in the manner prescribed by section four hundred two of the eminent domain procedure law to the supreme court in the county in which such street, highway or public place is situated. The corporation shall file with the court a certificate of the public service commission certifying that the right sought to be acquired is necessary and in the public interest and such certificate shall be conclusive evidence as to the matters lawfully certified therein.
After a hearing on such petition and any answer thereto, if the court shall find that such right to construct, use and maintain is necessary for the corporate purposes of the corporation, it shall enter its judgment adjudging that such right is necessary for the public use and that the corporation is entitled to construct, use and maintain its lines or wires or pipes, conduits, ducts or other fixtures in, over or under such street, highway or public place and adjudging pursuant to the eminent domain procedure law the compensation to be made by the corporation to the owner or owners.