Court sides with Oklahoma in Red River dispute