It is the duty of the warden, upon the service of the writ provided for in § 41-21-305, to have the inmate before the court on the day specified, for which purpose the warden may employ a trustworthy deputy and a sufficient guard, who are entitled to the same compensation for each day's travel and attendance on court as is allowed sheriffs and guards for the removal of inmates to the penitentiary.
T.C.A. § 41-21-306