The gas engine doesn’t get a pass on the coal sourced electricity. Running a refinery takes a lot of electric power. It takes between 3-4 kWh of electricity to make a gallon of gas. (take a look at an aerial photo of a refinery, there will always be a decent sized power substation sitting next to it)