I have a border collie, mad as a brush, timid but very sweet and smarter also than I give her credit for. Was in a customer's house (doggy people) they said bring her with you.
So I did, was working in the kitchen installing a fan, guy came up behind me when I was facing the other way and she put herself between me and him snarling.....he thought she was being fickle...i realised later she had noticed I was otherwise occupied, didn't know he was there, she decided he was a potential threat and that she was going to protect her dad....all 22kg of her (though her teeth are frighteningly large.....) she calmed down once i turned round...