If any person shall go upon the ground or lawn surrounding or adjacent to (1) the state Capitol building or any state office building which is a part of the state Capitol complex, or (2) a county courthouse, or (3) any municipal office building where the principal business of the municipality is conducted, which ground or lawn is owned by or leased to the State of West Virginia, the county, or such municipality, as the case may be, and place, erect or construct or attempt to place, erect or construct for himself or others shelter accommodations thereon or use any such erected shelter accommodations, without the written permission first had and obtained of the Governor, the county court, or the governing body of the municipality, as the case may be, he shall be guilty of a misdemeanor, and, upon conviction thereof, shall be punished by a fine of not less than $25 nor more than $100, or by imprisonment in jail for not more than thirty days, or in the discretion of the court, by both such fine and imprisonment, and any such shelter accommodations are hereby constituted a public nuisance which may be abated at the expense of any such person. Each day upon which any violation of the provisions of this section continues shall constitute a separate offense.