It is true that only an idiot would shoot a BB gun at a dog and then expect not to be bitten (or beaten).
BUT a dog should never attack a human, cat, other dog or what ever. If they do the owner has failed misserably at training the dogs psyke. That's how it is, even if I sometimes wish that it wasn't.
I really can't understand how that toddler tripper could make a case

There must be somthing else that has been left out, I mean
really
Thankfully enough we haven't got this kinda stupid behavior were I live. geez