Associated Press

NORRISTOWN, Pa. — A judge admonished lawyers on both sides of Bill Cosby's sexual assault case Tuesday after two courtroom shouting matches broke out.

The high-stakes hearing was testy from the start, as Montgomery County District Attorney Kevin Steele clashed with Cosby lawyer Brian McMonagle over the defense's insistence on identifying women accusing the comedian of sexual assault by name in public documents and a court hearing.

Steele became enraged when McMonagle argued that prosecutors had provided him with the names of the accusers. Arguing that the names were disclosed during the pretrial discovery process and were not part of the public record, Steele suggested that Cosby's lawyers were publicizing them in an attempt to intimidate the women.

Cosby criminal trial tentatively moved to June 2017

McMonagle said many of them had already gone public with their allegations.

"These are witnesses in a trial. They are not children," McMonagle argued.

Montgomery County Judge Steven O'Neill denounced the outburst as uncivil, and ultimately ruled Cosby's lawyers could identify 11 of the women by name. He said two of the women have remained out of the spotlight and shouldn't be identified in court.

O'Neill then warned lawyers a second time, after Steele blew up at the defense over the positioning of a projection screen.

Steele says Cosby's lawyers had the screen placed so the women's names would be seen by dozens of reporters in the courtroom gallery. McMonagle says courtroom staff positioned the screen.

The judge said he'd be forced to call in sheriff's deputies if the lawyers couldn't conduct themselves properly.

The blowups came at the start of what is expected to be a two-day hearing on whether prosecutors will be allowed to call 13 accusers as trial witnesses, a key part of their strategy to show the 79-year-old Cosby had a decades-long habit of drugging and molesting women.

On Tuesday in court, Steele argued that Cosby used his fame used his fame to gain the trust of women before knocking them out with pills and drinks so he could sexually assault them.

Bill Cosby's latest efforts to get criminal charges tossed are denied

Cosby's lawyers, who are expected to make their arguments on Wednesday, want the accusers barred from testifying at his trial on charges that he sexually assaulted a woman at his suburban Philadelphia home in 2004. At the hearing, they complained that celebrity lawyer Gloria Allred fed Pennsylvania prosecutors a list of accusers to use as witnesses.

The defense is expected to attack the accusers' credibility and relevance as they try to keep them off the witness stand.

The defense encountered an early setback Tuesday when O'Neill refused to hear from one of their experts, Elizabeth Loftus, a psychologist who has questioned the reliability of eyewitness and witness memory. The judge said Loftus wouldn't help him decide if the accusers can testify but added she might be allowed to take the stand at Cosby's trial next year.

Tuesday morning had started on a somewhat lighter note, thanks to a quip offered from Cosby on his way into the courtroom. “Don’t tase me bro,” the comedian joked as security officers wanded him on his way into a suburban Philadelphia courtroom.

The prosecution and defense have long battled over whether the 13 other sexual assault accusers will be able to take the witness stand at the trial, scheduled for the spring.

“To come up with the required showing of a ‘signature,’ the commonwealth reaches for a cliché: a giant in the entertainment industry using his power to take advantage of young aspiring actresses. Even if proven … the age-old ‘casting couch’ is not unique to Mr. Cosby,” defense lawyer Brian McMonagle wrote in an October defense brief opposing the testimony.

That “prior bad act” evidence could make or break the case, which began a decade ago when Temple University employee Andrea Constand filed a police complaint against her friend and mentor over a 2004 encounter at Cosby’s home near Philadelphia. A prosecutor at the time declined to file charges.

But authorities reopened the case last year after scores of women raised similar accusations and after Cosby’s damaging deposition testimony from Constand’s lawsuit became public. The trial judge last week said the deposition was fair game at trial, arming prosecutors with Cosby’s own testimony about his affairs with young women, his use of quaaludes as a seduction tool and his version of the sexual encounter with Constand the night in question.

Cosby’s lawyers had hoped to question the accusers in person, but O’Neill rejected the idea.

Some of the women had ongoing friendships or romantic relationships with Cosby, while others knew him for only a few days after meeting him on a plane or at a casino. Some, like Constand, took pills knowingly — she thought it was an herbal drug; he later said it was Benadryl — while others believe he slipped something stronger in their drinks.

McMonagle has petitioned to ask each accuser as many as 80 questions as he tries to defend what he calls decades-old, vague accusations that were never vetted at the time. The defense has also questioned the women’s motivation, noting many are clients of Allred, who has suggested Cosby should put up a $100 million settlement fund for potential sexual assault and defamation claims.

Allred told The Associated Press last week that her clients have a duty to testify if the court wants to hear from them. She called the defense’s dismissal of their accounts “out of context or just plain wrong.”

O’Neill must walk a fine line in weighing their testimony, given a 2015 state Supreme Court ruling that threw out a Roman Catholic Church official’s child-endangerment conviction because the Philadelphia trial judge let too many priest-abuse victims testify about the alleged church cover-up.