The High Court in the Indian capital, Delhi, has directed the city's civic authorities to rid the premises of a top court of marauding monkeys.
The court told the authority to catch monkeys who were disrupting work at the Tis Hazari courts within a month.
A petitioner complained that the monkeys were attacking lawyers and their clients and snatching their food.
Delhi suffers from a serious monkey menace, with scores of animals seen across the city.
The monkeys are mostly seen around top government offices.
Petitioner Nirmal Chopra said lawyers at Tis Hazari had asked the state government and the municipality to tackle the simians, but no action had been taken.
Tis Hazari is Asia's largest law complex with 162 courts.
"If you cannot catch monkeys, then better close down your institution," Judges Vijender Jain and Rekha Sharma told the municipality.
The Press Trust of India quoted the municipality's lawyer as saying that catching monkeys was no longer its responsibility.
He told the court that a monkey catcher hired by the municipality had required 72 stitches after being mauled during an operation. Other monkey catchers were reluctant to take up the work.