(2) Where, during an inspection, it appears to the Department of Labour that the use of any building or part of a building, or any part of the ways, machinery or plant, in an industrial establishment involves imminent risk of bodily injury, or imminent danger to the safety of persons employed in connection with the industrial establishment or any class of such persons, or to the public, the Department of Labour may serve on the employer or person in control of the industrial establishment, a notice in writing prohibiting such use until the building or part of the building, or part of the ways, machinery or plant, has been repaired or altered in such a manner as to remove such imminent risk or danger.