My guess...purely a guess...is that this judge has already contacted the Secret Service in some way to tell them there is the possibility of Trump being sentenced to jail for a short period of time...and for the Service to inform the judge of what it would require to make that as safe as possible for Trump and his detail.
No judge is going to allow this shit to go on without some intervention.
Seems to be it would be easier for the Secret Service.