Yeah if someone is just yelling or being kinda loud it is usually better to be polite and just ask them to calm down.
However, the assholes around where I live like to do things like make death threats or rape threats (usually to female workers), try to grab whoever is at the register, or take swings at whoever is serving them. At that point, I have no qualms with being far less than polite to them.