The anti-encroachment body’s run-ins with the court point to a systemic problem