The judge doesn’t want to give Trump’s team any ammunition for an appeal. I realize it’s absurd, but if he’s thrown in jail without significant warning then they’ll argue it biased the already liberal jury (cause NYC) against him too much.
(I am not a lawyer, that’s just my understanding.)