Even at a bit longer ranges, it can blind a charging animal, and certainly leave nasty wounds on other parts of the face which likely would stop a charge.
Black bears and polar bears appear to be less aggressive than grizzly bears.
You hit that on the nose.