Where in a proceeding there is a jury, and a statement in a document is admitted in evidence under this part, and it appears to the court that if the jury were to have the document with them during their deliberations they might give the statement undue weight, the court may direct that the document be withheld from the jury during their deliberations.