PORTLAND, Ore. (AP) — An Oregon court has ruled a couple must have their dogs surgically "debarked" after causing their neighbors several years of disruption.

The Oregonian/OregonLive reports the Oregon Court of Appeals determined Wednesday that the devocalization operations were necessary since the dogs' owners had not done enough to quiet their pets.

Read more: Panera employees rescue dogs left in hot car

Neighbors Debra and Dale Krein say they decided to file the lawsuit as a last resort after enduring more than a decade of nuisance barking by six or more dogs. According the Kreins, the barking begins as early as 5 a.m. and has caused the family and their guests discomfort.

Dog owner Karen Szewc says the dogs bark when they sense predators and are necessary to keep the livestock on her property protected.