Immediate works were required to remedy the situation in the council-owned building