If the court is so sure that the plaintiff will prevail, why even have a trial? The answer is that until the court rules, barring 100% certainty of the plaintiff prevailing, you have to wait for the court's deliberation or you have only oppression and no justice at all. Both sides must have a chance to make their case.