The social media platform says its legal representative was threatened by a supreme court judge.