26(5)The Court and every judge thereof may grant to a defendant, in respect of any equitable estate or right, or other matter of equity, and also in respect of any legal estate, right or title claimed or asserted by the defendant, all such relief against any plaintiff or petitioner as the defendant has properly claimed by the defendant’s pleading and as the Court, or any judge thereof, might have granted in any suit instituted for that purpose by the same defendant against the same plaintiff or petitioner; and also all such relief relating to or connected with the original subject of the cause or matter, and in like manner claimed against any other person, whether already a party to the same cause or matter, or not, who has been duly served with notice in writing of such claim pursuant to any Rule of Court, or any order of the Court that might properly have been granted against such person if the person had been a defendant to a cause duly instituted by the same defendant for the like purpose; and every person served with any such notice shall thenceforth be deemed a party to the cause or matter, with the same rights in respect of their defence against such claim as if the person had been duly sued in the ordinary way by the defendant.