Court rules in favor of Flamengo in Libra case