Admittedly, a barking dog can be a source of annoyance, but pounding on your neighbours door at 11:00 at night is far more annoying, unreasonable and borderline illegal.
Look! Most dogs bark. That’s just what they do. I have 4 dogs, (Min Pins or Miniature Pincers.) A very intelligent breed but...