It's equally unsafe for others around them...especially if the diabetic is going to eat that candy bar and get into their car and drive 100 miles an hour.
Policemen can make decisions about when it's ok to bend the law.