Mr Woller tried to join the accused in the dock, but was stopped by court security staff.
"They've got the wrong guy," he said before returning to his seat. His comments led to an in-chambers discussion between Judge Phillip Recordon, police prosecutor Adruab Heffernan and Mahanga's lawyer, Rowena Smith - appointed to represent him only yesterday.
Judge Recordon adjourned the matter until March and apologised to media present for not being able to explain what was happening.