My Corgi wants to herd. It is what he was put on Earth to do. Unfortunately, when he sees a bunch of three-year-olds running around, they all begin to look like sheep to him.
His method of herding is to nip at the heels of the sheep. We have trained him to stop this when he is with us, but if we have a lot of kids around, that dog will not get the opportunity. He’ll be locked away. Training only goes so far.
You are VERY wise.
I have a friend with a boarder collie that does the same thing. He is put into a room with lots of toys and treats when people come over.