Hilary H. Green’s lawyer called the ruling by the state Supreme Court “frustrating and surprising.” He pointed out that many of the accusations had long been public, and yet voters overwhelmingly reelected Green as a Harris County justice of the peace.