Lawyers and a judge sometime talk about legal matters in a judge’s chambers when a jury might be improperly swayed or misled if it heard the discussion.
In going in camera, judges exercise the discretion of the court.