An Alaska Superior Court judge on Tuesday ruled in favor of ConocoPhillips in a fight with the state and another oil company over the use of roads needed to access a huge oil field on the North Slope.