.The order follows months of back-and-forth between the social-media platform as well as South america's best courthouse.