Been around the herder/guardian dog class much Kem?
Protecting THEIR territory, and their personal charges is what makes them special.
Sure you can have them accept almost any group as theirs to care for be it the cat, or a flock of chickens but all others be it squirrels, possums, ground hogs or a strange cat or chicken are outsiders and threats to be dealt with. That's why socialization is important in the dogs early life. That's why training for what is a threat and what is not a threat is important in what to them is the strange land of the humans.
If you want to flat line the spirit of a herder/guardian just take away his agency to keep his charges safe and territory clear of ALL trespassers.
A properly trained dog will do what it's trained to do
.