No, laws are sticks. Make the alternatives attractive and you won't need sticks (or, at least, not so many).
Another instance: when I pop into hospital I know that parking will be difficult and relatively expensive. The car park will likely be full, and surrounding streets covered by the Ringo app, but similarly getting a space will likely be a decent walk away. However, there is a bus stop at the top of my lane, and a bus goes from there to right outside the hospital - you couldn't ask for more! Although, actually, I've taken it only once because it takes just over an hour to get there (20 mins in car), runs only once an hour, and the "onboard free WiFi and charging" never works. So for an appointment at 9:45 I am looking at catching the 7am bus, being bored to tears and than kicking my heels for half an hour at the other end. And then there's coming back... And don't ask about cost...
Laws ain't going to change that. The will to run the things more often and cheaper would make a huge difference, though.