If the court ended the case that would be legal (not necessarily just) but AFAIK this case has not ended. Assuming that is true, the judge should not admit his bias. He should keep his mouth shut until the case ends, to avoid confirming my suspicion of his bias, but too late now.
He’s only awaiting what the damages will be.