Salmon, dams will head back to court