The thing with the Shell decision is that even if the decision stands, all Shell has to do is put their emission producing refineries into a different company, they can wash their hands off it then. CO2 emissions? We only sell petrol which we buy from this other company.
Or other paperwork trickery, either way, they'll get away with things. Of course, by 2030 the market will have shifted towards electric vehicles by a lot already.