If that happens there could be some interesting but boring (oxymoron intended) business opportunities like transfer stations at the borders of urban areas (switch engines).
This could also dramatically improve the safety of trucks as there are still an enormous amount of trucks that are not automatic and do not have antilock breaks (or whatever the analogous tech is these days).
By mandating electric engines the safety improvements could be had at the same time.
I like the name: eTruck.