The court plays a crucial supervisory role in identifying and correcting misjoinder of parties to ensure that proceedings remain fair, efficient, and focused on the real issues in dispute. When a court observes that certain parties have been improperly joined or omitted, it has the authority—either on its own motion (suo motu) or upon application by a party—to order the striking out of misjoined parties or the addition of necessary or proper parties. This power is generally conferred under provisions such as Order I, Rule 10 of the Civil Procedure Code, which allows the court to make such orders at any stage of the proceedings, provided the correction does not alter the fundamental nature of the case. The judge ensures that these adjustments do not prejudice the rights of the existing parties or affect the case’s merits; instead, the purpose is to enable the court to adjudicate effectively and deliver a decision that fully addresses the substantive issues between the proper parties.