17-10. Penalty for refusal to grant.
If any judge authorized by this Chapter to grant writs of habeas corpus refuses to grant such writ when legally applied for, every such judge shall forfeit to the party aggrieved two thousand five hundred dollars ($2,500).