The ruling came after a hearing where a defense attorney criticized prosecutors for presenting ‘sensational’ allegations