In wells, gas pipes, flues, smoke ducts, tanks, reservoirs, cisterns, pits, galleries and in places where it is not possible to ensure permanent compliance with the provisions of this chapter, work shall not be undertaken until it has been ascertained that there is no risk to the health and safety of workers and, where appropriate, the atmosphere has been purified and the contents emptied.