In the real world energy isn’t always fungible. The location of the energy can be an important factor in something’s overall efficiency.
If you need the end product at a particular location, the transport costs can overwhelm any differences in efficiency.
The same also applies if you have excess energy in a particular location that you want to use.
In either case, the transport costs can make using the less efficient process, the more energy efficient choice overall.