The sally port permits secure transfer of prisoners to and from the court. Here, a Corrections Department van has just entered the port.
http://www.nyc.gov/html/dcas/html/resources/man_criminalcourt.shtml
http://en.wikipedia.org/wiki/New_York_City_Criminal_Court