Lawmakers hail ruling on top judge