Rolling through stop signs is illegal, but people do it all the time without penalty. It's not enough to simply make something illegal. You also have to have groups empowered to enforce the law and dole out punishments heavy enough to act as a deterrent.
You picked an example at the extreme end, so let me choose another example at the opposite end. Breaking into people's homes and taking their stuff is illegal. It would happen a lot more if there were no laws against it.
You've completely missed the point. I'll break it down.
When you break a law, it doesn't magically summon an LEO and judge to catch you in the act and give you the proper penalty, so words in a code is not a deterrent. The deterrent is knowing someone will hunt you down, getting thrown in jail, it's fines that hurt your bottom line.
Yes, our society places a premium on policing break ins very harshly. Police have huge budgets for street crime & judges have harsh penalties available to them. White collar crime, like financial crime or breaking what little privacy protections is on the books? Not so much... So, again, you can't just make a law. You also have to have groups empowered to enforce the law and dole out punishments heavy enough to act as a deterrent.
This boils down to difficulty of enforcement. Enforcing the law regarding stop signs is very difficult because it's hard to detect all the violations at scale. Tracking, though, is much easier to detect even automatically by its very nature.
Tracking arguably isn't much of an issue until data sale and aggregation gets involved. That requires a functioning marketplace which tends to leave a lot of evidence behind.
The hyperscalers are a notable exception to that but the larger a company is the more likely systemic illegal practices are to get exposed.
That could be remedied by installing cameras with AI on the edge, coupled with autonomous RPGs, or drones starting and dropping a fragmentation grenade on the offender.