Hydrostatic pressure sensors may be used to detect the level of a liquid-liquid interface, if and only if the total…