The prospective fuel shortages in Europe are mostly to do with natural gas, not oil and oil derivatives, no?
But oil (&coal) may be bought to generate electricity (to replace gas, not for heating but for electricity production. Some European countries such as Germany are heavily reliant on gas for electricity production), and that may still drive petrol up
I believe the plan in case of shortage is to reduce the amount of natural gas flowing to power plants, and to make do with whatever alternatives for electricity are readily available (which is probably coal, although maybe nuclear decommissioning will be staved off).