With my pea brain I can think of even more ways to get the witness testimony without sending him to jail before conviction
SWEEP THE COURTHOUSE FIRST
CHANGE LOCATIONS AT THE LAST MINUTE
PUT ARCHER ON LIVE CAMERA IN UNDISCLOSED SCIF
HAVE THE WITNESS TAPED BEFORE HAND