The person making the return shall, at the same time, bring the body of the party, as commanded in the writ, if in his custody or power or under his restraint, unless prevented by sickness or infirmity of such party. In such case that fact shall be stated in the return. If proved to the satisfaction of the court or justice, a justice of the court may proceed to the place where the party is confined and there make his examination or may adjourn it to another time or make such other order in the case as law and justice require.
14 M.R.S. § 5520