UK Supreme Court rules in favour of flip clauses