The legal system cannot work without officers of the court acting with honesty in the interests of justice. In this case, officers of the court (Samsung's lawyers) disobeyed a lawful order from the court in order to give their client an unjust advantage in that client's negotiations with a third party. This is called contempt of court, and it violates their obligation to act in good faith as officers of the court. It's similar to suborning perjury, or helping your client flee the jurisdiction to escape justice, or hiding evidence they have full knowledge of. On the prosecution side, it would be like destroying evidence that clears a suspect of charges. There will be severe penalties for the lawyers in question. They will likely not be officers of the court for much longer.
Samsung, to be fair, didn't violate any such obligation. We don't know if they encouraged lawyers to do this or not, but we do know that they took unfair advantage of it. A company acting in good faith as part of a legal process would have put a stop to it immediately, fired said lawyers, and informed the judge and made whatever efforts they could on their end to limit the damage. We know Samsung didn't do this, and in fact bragged about their corporate espionage. It's a murkier issue as to Samsung's actual liability or criminality in this, but if it is determined they induced this contempt of court by their lawyers, I imagine the consequences will be severe for them as well. Certainly Nokia has cause to sue Samsung's lawyers, if not Samsung directly. Apple will no doubt use Samsung and their lawyers' actions in this matter as argument for further limiting of their confidential information in current and future cases, and I imagine courts will agree. The fact is Samsung persuaded a judge that Apple should give up certain confidential information, that judge gave an order that only Samsung's lawyers would be allowed to see this information and no one else, but Samsung's executive team got the information anyway after their lawyers took this confidential information and sent it to Samsung in violation of court order.
At a minimum, Samsung got caught not reporting unethical behavior by their legal counsel, and taking advantage of it for their own gain, likely in the many tens or hundreds of millions of dollars. Considering Samsung's history of destroying evidence and other legal shenanigans, I don't think it's such a stretch that they somehow induced their lawyers to commit contempt of court. Logically, the lawyers would need such inducement, as why would they risk being disbarred if they weren't being pressured or incentivized in some way by their client?
The nature of the court order that was violated is not the issue here. The issue is a serious breach of obligations by Samsung's lawyers, and Samsung subsequently having an unfair advantage in their negotiations with Nokia, and an unfair competitive advantage in the marketplace with Apple.