Dogs do dominance games, they don't anthropomorphise themselves, they relate to you as an odd dog. You are either top dog or they don't give a shit what you think.
So if a dog wants to give you hassle, you don't negotiate, you metaphorically let it know you have its balls in a bag. keep to the Fen Causeway