Where any proceedings purport to be commenced in the Court and the Court has no jurisdiction to hear and dispose of the proceedings, the Court may, notwithstanding the lack of jurisdiction, make such order (if any) as it thinks fit for the payment by any party to any other party of the costs of the proceedings in the Court, and any such order for costs may be enforced as if the Court had had jurisdiction to hear and dispose of the proceedings.