where it says:
"anyone who tries to harm it, WHETHER THEY ARE MY FRIENDS, SIBLINGS OR MY OWN CHILDREN"
you can risk the part of friends, cause like we could see already... he would go to the extent of sacrificing his own comrades or killing Naruto to achieve his goals. the key part here is FAMILY.
I think he will make his decision based on this... his love for his family. that for him is more important than a village or what it represents, random people, etc...