The court in this Commonwealth may enter an order directing compliance with the terms and conditions prescribed by the judge of the state in which the witness is confined.