In the event of a breach of the forms prescribed by law on pain of nullity or a failure to observe essential formalities, any court, including the Cour de cassation, which is seised of an application for annulment or which notes such an irregularity of its own motion may declare nullity only where the effect of the nullity has been to prejudice the interests of the party concerned.