.The command follows months of back-and-forth between the social-media platform and Brazil's highest possible courtroom.