I believe that the large differential in price at the pump in Italy or France is tax based, not cost based. I also believe that it is not just a matter of refining cost, but demand vs supply.
Germany has let the tax subsidy evaporate, and it had a significant effect on the share of diesel sales in that country.