Good point bringing up smoking. Why don’t they just make smoking illegal in every country ? Because it’s impractical. Same as this law.
Is that also the reason they don't make cocaine illegal in every country?
A 5% spread of harm in a population is better than spread across 80% or 90%, etc. Taking action to reduce the surface area of harm, even if 0% is impractical, is beneficial to a functioning society.