Apple has every legal right in the world to appeal the decision.
However, if the Government prevails on appeal and Apple still refuses to comply, both the company and Mr. Cook personally should be held in contempt.
Perhaps they will be, but only after the currently hamstrung Supreme Court ends the appeal process and only if they still stubbornly refuse. If and when Apple caves, the Chinese, Russian and other unsavoury security
apparats will be first in line to get the same access, by hook, crook or collegial sharing.
Certainly the Snowden and Wikileaks affairs have demonstrated American security services already share the same amoral imperatives to spy on all their own citizens.
Demanding Apple serve the Ministry of Love and reveal all the the secrets its agents say they can't find themselves seems very much like a scene from the end of
1984.