Do you feel like by 2030 we would have the Infrastructure in place to go electric only? Certainly not In rural or cold areas.
When the political life cycle is 5 to 10 years nobody gives a shit about 2040, it's effectively "never"
I don't necessarily think that it'll be done in that time and a 2040 deadline just makes that even less likely.
Not a perfect solution but sometimes perfect is the enemy of good.