A judge has judge ruled in favor of the Koi Nation, throwing a Clearlake hotel project into uncertainty.