Believe it or not, not everyone lives in a grid neighborhood with neighbors close by and not all dogs are companion animals; some are used for hunting, herding and guarding. There are many powerful breeds of dogs that require special care and the same rules would apply to this dog....
Hello; Yes there are some service dogs trained or by their nature used to do specific jobs. I also can see some cases where a dog is doing right when it bites or attacks. Home invasion where the dog attacks an intruder. Military service dogs.
In the nearby town I looked at a house. Next door in a fenced lot were several dobermans. Owner had a very sturdy fence six feet or more high.
My next door neighbors on one side are a small herd of black angus cattle. I give them nick names like big mack, rib eye, beef stew and such. They smell a lot better than the sheep that use to be my neighbors on that side.