Certainly.
When you look at the life cycle of gasoline or diesel fuel, you go back right to the beginning of the extraction and production of crude oil, through the refining and then through the use. The use contributes about 75% of the total life-cycle emissions, and the other 25% is split between the crude oil and the refining. It depends on the kind of crude oil, but 10 to 15% of the emissions result from crude oil production—again, 10 to 15% from refining and then 75% from the use.
Making net-zero crude oil doesn't get you very far in terms of net-zero gasoline or diesel fuel.