Comply with the court order or appeal it.
(oh he really meant that? - is not a defense)
Separately, on the 1st amendment front - love the t-shirt metaphor someone posted.
Did anyone stop to think perhaps the judge meant "delete the post" (IMO, reasonable) rather than "delete the account"?
As someone who has helped Federal judges with technology (as well as plenty of friends over 40), I think folks need to consider the background of the judge before issuing a 1st Amendment rally cry.
Judges have broad discretion over sentencing in most states. IMO, requiring the removal of the *post* was reasonable. Either way - it was a court ruling and there is a process for contesting the ruling.