I'm surprised costs were not awarded, this would seem to me to be the definition of frivolous.
Costs should have been ordered against both parties and all the lawyers involved. The fact that lawyers even took on this matter and brought forward and application for such nonsense is concerning. As officers of the court you would hope that professionals would simply refuse to take on such nonsense from their clients and refuse to represent them.
To be honest, it sounded like an exercise that would have been done in my law class, and I think the prof would have failed anyone who said there was a case worthy of taking to court. But my course was decades ago, and perhaps we have gravitated slightly more to the US model of a litigious society.