Any county or city that has no farm may enter into an agreement with some county or city maintaining a farm to receive and work all persons liable to confinement on such terms and conditions as to the payment of board, medical expenses and clothing as may be mutually agreed upon by the two governing bodies.
Va. Code § 53.1-102