If a criminal case is removed from one county to another and the defendant is detained in a correctional facility, the defendant may not be transferred to the county to which the case was removed until the presence of the defendant is required in the court to which the case was removed.
Md. Code, CS § 9-301