Judge upholds Klamath River injunction