A.
Public utility corporation. This chapter shall not apply to any lot or to any existing or proposed building or extension thereof used or to be used by a public utility corporation if, upon petition of such corporation, the Pennsylvania Public Utility Commission shall, after a public hearing, determine that the lot or the existing or proposed building or extension thereof is reasonably necessary for the convenience or welfare of the public.
B.
Borough of Lewistown. This chapter shall not apply to any lot or to any existing or proposed building or extension thereof used or to be used by the Borough of Lewistown if the Borough Council shall, after a public hearing, determine that the lot or the existing or proposed building or extension thereof is reasonably necessary for the convenience or welfare of the public.