Looks like an in-car sobriety test. How the hell are drunk drivers gonna be able to follow that?
If you are sober and manage to do so:
"Your honor, the car was weaving erratically, so we performed a traffic stop..."
...with all that can ensue, including a search of the vehicle.
If you want to slow people down, leave the potholes and save money.