except when an unplanned event requires that the device open for the purpose of preventing physical damage or permanent deformation of the unit or equipment on which the device is installed in accordance with good engineering and safety practices for handling flammable, combustible, explosive, or other hazardous materials.