Section 23. Instead of appointing the commissioners authorized by section twenty, the court may exercise the powers and duties of such commissioners.