Supreme Court rules for Real Madrid