I meet a number of dogs usually when out walking and on the odd occasion that one of them (rightly) puts the 'intact' stumpy bastard in his place with a growl or bark - it's usually older girls - the owner will immediately jump to telling their dog off and apologising.
I'm no dog expert but I'm pretty certain that shouting at a dog for having the gall to vocally enforce it's boundaries results in dogs that bite first and grumble later.