It's a good idea in my opinion, although if possible I'd rather they be more aggressive with their time frame. By 2050 we may already have reached Peak Oil. If that happens we may not have enough left to run cars in the city anyway.
There will always be oil; we just won't be extracting it after a certain point anyway. 2050 is an easy target for that.