Missing from this is the part the courts played. If the guy is to be in court the judge on that court may hold the cops in contempt for failing to produce him at the scheduled time, regardless of the reason, causing the cops to take desperate measures to meet that timeline.