Another version of "loser pays" are frivolous pleading sanctions.
Lawyers are just the canaries in the coal mine, verdict wise. Remember, juries award verdicts.
A frequent downfall of well meaning Freeper types. One thing to guard against at all costs, if filing a lawsuit which is then declared frivolous. And frivolous doesn't always mean what people think it means.
The point being, the privilege you cite of the judge to zap the plaintiff's atty with costs and expenses when the defendant prevails is neither readily, customarily or commonly used. The plaintiff's atty feels no fear; all he has to lose is his time. The defendant *always* loses, even when he emerges victorious. That is what needs to be corrected. At the very least, a civil case should have a level playing field.
In family court, the losing plaintiff frequently ends up paying defense expenses, and in contract disputes. In tort case, loser pays? Not unless the plaintiff's atty also ends up in jail!