Ruling brings six-year legal wrangle to an end; likely to have significant implications for casinos’ future relations with junket operators.