(1) A defendant may, at any time after filing a notice of intention to defend, apply to the court under this part for judgment against a plaintiff.
(2) If the court is satisfied—(a) the plaintiff has no real prospect of succeeding on all or a part of the plaintiff’s claim; and(b) there is no need for a trial of the claim or the part of the claim;the court may give judgment for the defendant against the plaintiff for all or the part of the plaintiff’s claim and may make any other order the court considers appropriate.