Here where I am, it was mandatory to have someone walk in front of your motor carriage with a flag at all times it was in motion until the last year or so.
No-one apparently noticed that this 1900'd law was still in force.
You also had to pull over and stop the engine whenever a horse approached. Of course, we all did that, all the time
At the time they were written, I suppose they were useful laws. But nobody repealed them until some wise aleck found they were still in force and cited them in court over a traffic offence (tried to make a fool of the judge). They got repealed fast after tthat!
Cheers
mick