Any person who shall wilfully remove, deface, destroy or disregard any barricade, light, danger sign, detour sign, or warning of any other character whatsoever, erected or placed under authority of this act, or who shall drive on, over or across any highway which has been closed by proper authority, shall, upon conviction thereof in a summary proceeding before a magistrate, alderman or justice of the peace, be sentenced to pay a fine of not less than twenty-five dollars nor more than one hundred dollars, and the costs of prosecution, and, in default of the payment thereof, shall be imprisoned one day for each dollar of fine and costs unpaid: Provided, however, That persons who have no outlet due to the closing of a highway may drive on, over or across such highway, with the consent in writing of, and subject to such conditions as may be prescribed by, the authorities responsible for the closing or their agents or contractors, without being subject to the penalties imposed by this section.
36 P.S. § 2205