League, NHLPA head to court