A court of this state, whether the state is acting as an initiating or a responding state, may, in its discretion, direct that any part of or all fees and costs incurred in this state, including, without limitation by enumeration, fees for filing, service of process, seizure of property, and stenographic service of both petitioner and respondent, or either, shall be paid by the state and shall direct that the district attorney's fee be paid by the state. The court may order that when the state has paid the costs above that a fi. fa. be issued against the respondent to reimburse the state for its expenditures. Where the action is brought by or through the state or an agency thereof, there shall be no filing fee.