The judge may, with respect to the property and affairs of a patient, do or secure the doing of all such things as appear necessary or expedient—
In the exercise of the powers conferred by this section regard shall be had first of all to the requirements of the patient, and the rules of law which restricted the enforcement by a creditor of rights against property under the control of the judge in lunacy shall apply to property under the control of the judge; but, subject to the foregoing provisions of this subsection, the judge shall, in administering a patient's affairs, have regard to the interests of creditors and also to the desirability of making provision for obligations of the patient notwithstanding that they may not be legally enforceable.