An emergency demolition was ordered by the city