.The order adheres to months of back-and-forth between the social-media platform and South america's highest possible court.