I guess the devil's advocate is similar but it's coal to produce the electricity compared to the diesel truck. Thinking both aren't great.
"Coal is used to power electric vehicles," is an argument that is more noise than signal.
The problem may be that "both aren't perfectly great" and maybe the best solution, despite Capitalism, is to use less as one of the only ways to well: save ourselves from destroying the Planet.