Any building or portion thereof declared unsafe or unsanitary by a proper authority shall be governed by the ordinance concerning unsafe buildings.