People like to blame the green transition for high energy prices, but this is only true up to a point.