The social media giant says it refused to comply with a judge’s order to appoint a legal representative.