My concern is that if there was a fight of some kind, the dog would turn on me. My personal approach would be to kick the dog in the stomach as hard as I could. I want them to think of my interaction with them as causing them pain that they want to get away from.
Hope I'm never in that situation to see if it works or not.