When a misjoinder of parties is identified in court, it does not render the entire proceeding void; instead, the law provides specific remedies to correct it. Under procedural rules, the court may, at any stage of the proceedings, order the misjoined party to be struck out or allow the proper party to be added through an amendment of pleadings, ensuring that the case continues efficiently with the correct parties involved. The court typically favors amendment over dismissal, as the goal is to determine the matter on its merits rather than on technical errors. Dismissal of the entire case is generally unnecessary unless the misjoinder fundamentally affects jurisdiction or the cause of action itself.