Judge: State broke law in OK'ing Emigrant Gulch gold mine exploration