A federal judge in Seattle says Washington must restrict greenhouse gas emissions from the state's five oil refineries.