That has to be illegal. Projecting unauthorized lane markers on the road is a hazard. That could easily cause accidents. Drowsy driver at night suddenly sees a bike lane appear out of nowhere, and he's straddling it or about to be, swerves...
I agree that it's probably illegal, and definitely causes trouble for drivers, but if they're straddling the lane, that means they have a lot more to worry about--they're about to hit a biker.
That's a lot less for the driver to worry about than swerving into other lanes or oncoming traffic.
So this straw man driver swerves for unexpected road markings but not for unexpected cyclists? Not only is he drowsy but insane too?
Well, if he's made of straw and he's driving a car, he's probably possessed, in which case it doesn't really matter.