The question raised by the demurrer was whether s. 5(1)(a) of the Banking Act 1974 Cth is beyond the power of the Parliament. The plaintiffs contended that the sub-section is invalid for three reasons. First it was said that it purports to confer on a court power which is not judicial power. The submission was that the sub-section does not involve the court in ascertaining, declaring or enforcing existing rights and liabilities but empowers the court to create new rights and liabilities in persons who are not in any existing legal relationship. Therefore, it was said, the court is required to act legislatively, or perhaps administratively, but not judicially. However, in my opinion it is quite unreal in fact, and wrong in law, to say that the parties in the present case were not in any legal relationship. The circumstances of the case are set out in my judgment on the trial of the issues [28] . The parties had entered into a number of transactions intended to have contractual force but said to be invalid or unenforceable by reason of a failure to comply with the Banking (Foreign Exchange) Regulations. Section 5(1)(a) in effect requires a court, in proceedings in which the validity of transactions has been called in question by reason of such a failure, to treat the transactions as never having been invalid for that reason only, if the court holds that it is just and equitable that they should be treated as being valid. Once the court holds that it is just and equitable that the transactions should be treated as being valid, the legal effect is that they never were invalid. It is wrong to regard the sub-section, or the sub-section operating in conjunction with the regulations, as first invalidating the transaction, and then rendering valid what was formerly invalid. It is true that s. 5(1)(a) gives the court a very wide discretion, but it is not an arbitrary one. Cominos v. Cominos [29] and the cases there cited strongly support the conclusion that when the court acting under s. 5(1)(a) applies to the facts of the case the standard imported by the words "just and equitable" it is exercising judicial power.