If I agree to pay you $50 to mow my lawn (no disrespect intended), you mow it, and I fail to pay: you take me to court. The cops don't come and arrest me.
If she agrees to not smoke with the kids, and she renegs, the ex-husband should take her to court and have the custody arrangment changed.
That's what she deserves.