In addition to what others have said, it doesn’t always happen like this. More often than not the Jury will be asked to leave the courtroom before the matter is discussed and the Judge will decide whether the Jury can hear the argument when they return.
Cheeky.