Check the legal basis.
Section 184 StPO refers examinations, escorts and transfers to Sections 97 and 98 StVG. Requests by police or other authorities require an order or consent of the prosecution and a statutory purpose such as a hearing, reconstruction, adversarial examination, confrontation, inspection or other evidence taking.