Many laws solve the problem of high initial cost dissuading globally good actions. Laws forcing everyone to buy insurance, for example. It's very easy to see that where such laws don't exist, almost no one buys insurance, making everyone worse off.
This is also an example of the same kind of law.
Insurance is an interesting example, I would have expected one that causes more direct harm to others like drunk driving.
How are we all worse off when fewer people have insurance?