(2)If it appears to the Inspector that the use of any building or part of a building or any part of the ways, machinery or plant in a factory involves imminent danger to human life or safety, he may serve on the occupier or manager or both of the factory an order in writing prohibiting its use until it has been properly repaired or altered.