54.1. A court may, at any time, on request or even on its own initiative after having heard the parties on the point, declare an action or other pleading improper and impose a sanction on the party concerned.
The procedural impropriety may consist in a claim or pleading that is clearly unfounded, frivolous or dilatory or in conduct that is vexatious or quarrelsome. It may also consist in bad faith, in a use of procedure that is excessive or unreasonable or causes prejudice to another person, or in an attempt to defeat the ends of justice, in particular if it restricts freedom of expression in public debate.