You are quite right Scared. But I do believe that he had the APA in front of him, and I am sure that he can read, and knows the LAW.. and what legal barriers there then existed to prevent the distribution in accordance with the APA.
He could have chased them both out of his courtroom, and told them to go do what the APA called for, on original terms. DEnied the Class action suit as superfluous, not in the best interest of the Class, and ordered LOCH to settle with creditors and then distribute. Which he did anyway in the CA suit.
The Lawyers of course, could have brought suit for specific performance of the APA in the first place....but the fees that they could have gotten would have been considerably less.
You would have still been watered down, but all the shares that went to Lawyers and Plaintiffs would have went to the shareholders.