Mendoza was allowed to remain behind the door of the court's detention area as his attorney, Rosemary Scapicchio, spoke on his behalf in Boston Municipal Court at a 2 p.m. hearing, mere hours after his arrest was announced, before Judge James W. Coffey.