When in any county which is located in a judicial district composed of more than one county, a party is charged with a felony and the maximum punishment therefor shall not exceed fifteen years, and the district court of said county is not in session, such party may, if he desires to plead guilty, or enter a plea of nolo contendere, make application to the district judge of such district for a change of venue to the county in which said court is in session, and said district judge may enter an order changing the venue of said cause to the county in which the court is then in session, and the defendant may plead guilty or enter a plea of nolo contendere to said charge in said court to which the venue has been changed.
Tex. Code Crim. Proc. § 27.15