Accurate voltage switching device
I don't know that it is possible to do that without consuming ANY current but there are a few ways of achieving what you are asking for with very low power consumption and also without the need to connect it to a supply voltage.

A so called bilateral switch can do what you are asking for and it usually does not consume a lot of power but it needs to be connected to a supply voltage and most are only designed for very low currents in the mA range. They are mostly used for analog mux applications.

You can also use a P-mos and connect a resistor from source to gate and a resistor from gate to the cathode of a shunt voltage reference such as the ZR431 and then controll the p-mos from the reference input of the ZR431. If the resistors i mentioned are made very large the current consumption from the source side of the switch/p-mos can be made very low and the ZR431 will provide a well defined switching point.