Fees and costs.
Section 550
SEC. 550. Fees and costs. — The fees of officers and witnesses shall be taxed by the judge, on his return of his proceedings on the writ, and when the prisoner is discharged, the costs shall be taxed to the Philippine Government, and paid out of its Treasury; but no officer or person shall have the right to demand payment in advance of any fees which he is entitled to by virtue of the proceedings, when the writ is demanded or issued for the discharge from custody of a person confined under color of proceedings in any criminal case; when a person in custody by virtue or under color of proceedings in any civil case is discharged, the costs shall be taxed against the party at whose instance he was so in custody; and if he be remanded to custody, costs shall be taxed against him.