Suspect's bizarre outburst stuns courtroom