Yes, maybe you even burn more fossil fuel because of transmission loss. But one might still gain on better filtering of dust/particulates in the exhaust which is a major problem in German inner cities.
(I'm not advocating the use of coal energy to power electric cars, just mentioning that there are more aspects.)