The construction, use, or occupation of any building which is declared by sections 3781.06 to 3781.18, inclusive, section 3781.031, and section 3791.04 of the Revised Code, to be a public nuisance may be enjoined in a proceeding instituted in the name of any department or officer mentioned in section 3781.03 of the Revised Code in the court of common pleas of the county in which said building is or will be situated.