The order may be issued by the district court to any inferior tribunal, or to any corporation, officer, or person; and by the supreme court or the court of appeals to any inferior court, if necessary, and in any other case where it is found necessary for either of those courts to exercise its legitimate power.
Iowa Code § 661.4