The court may not allow an action which is brought by virtue of section 17A(1) to proceed if either of subsections (2) or (3) apply.
This subsection applies where the defender satisfies the court that it is not possible for a fair hearing to take place.
This subsection applies where—
(a) the defender satisfies the court that, as a result of the operation of section 17B or (as the case may be) 17C, the defender would be substantially prejudiced were the action to proceed, and
(b) having had regard to the pursuer's interest in the action proceeding, the court is satisfied that the prejudice is such that the action should not proceed.