.The order uses months of back-and-forth between the social-media platform and Brazil's greatest courthouse.