U.S. District Court Judge Adrienne Nelson issued the ruling Tuesday after holding a three-week hearing in Portland, Oregon.