when inmates are in the courtroom on trial
within correctional facilities
after being found guilty, but before imprisonment
following probationary release
after being found guilty, but before trial. only because thhey are not real police.(secruity as they are). so they only have to watch them as they are incourtroom instead of anywhere else