If any persons confined in the jail so designated on civil process, or removed there, as hereinbefore provided, shall by law be entitled to the liberties of the jail, the sheriff of the county in which the jail so designated shall be, shall admit them to the liberties of such jail, in the same manner and in the same cases, as if they had been originally arrested by such sheriff, on process directed to him.