A Marin County rape suspect told a judge Thursday that he would not have committed such a crime because “I’m a good-looking guy” and the accuser “is 300 pounds, no exaggeration.”

Izell Lewis, 26, of San Rafael, also denied the allegations in a separate case in which he is charged with exposing himself to an Uber driver and masturbating in front of her. That allegedly occurred while he was free on bail in the rape case.

Lewis, a competitive boxer and fitness trainer, made the comments after a lengthy day of court proceedings in which he asserted his constitutional right to be his own lawyer.

Judge Andrew Sweet consented reluctantly after vetting Lewis’ comprehension of his actions.

“This is a terrible idea,” Sweet said.

Earlier, the judge ejected two of Lewis’ supporters from court for being disorderly in the audience, where they were urging Lewis to accept legal representation.

Lewis’ decision squandered the work of a court-appointed attorney, Michael Coffino, who had prepared a motion to dismiss the rape case. He had subpoenaed about half a dozen witnesses — including the trial prosecutor, a prosecution investigator, a Central Marin police detective, a private detective and some defense attorneys who had worked with Lewis before.

Coffino said the alleged rape victim initially told police the crime occurred on July 27, but later said it happened on July 13. Coffino alleged the prosecution failed to report the discrepancy to the defense before exculpatory Snapchat messages and surveillance videos got purged.

“In an act of extraordinary ineptitude, the prosecution applied for a search warrant (at defense request) to obtain the Snapchat evidence but used the wrong offense date, making the warrant useless,” Coffino wrote.

The alleged rape occurred at the Corte Madera Town Center, where Lewis worked as a part-time boxing instructor at Bay Club Marin. The accuser was a Lewis acquaintance who also worked at the mall.

The woman alleged that Lewis lured her into a secluded stairwell at the mall, pulled down his pants and sexually assaulted her, according to the Central Marin Police Authority. Lewis pleaded not guilty to charges of forcible rape and rape by a foreign object.

Lewis’ bail in the rape case was set at $100,000. He was released on a $10,000 bond partly funded by friends.

The Uber masturbation incident allegedly occurred last month in San Rafael. Police identified Lewis as the suspect and sent the case to the Marin County District Attorney’s Office for review.

The prosecution filed indecent exposure charges earlier this month. When Lewis came to court and the judge remanded him to jail, he called the judge a racist and allegedly resisted deputies.

On Thursday, after establishing himself as his own attorney, Lewis pleaded not guilty to the Uber lewdness charge and obstructing arrest. Regarding the lewdness case, Lewis said he was babysitting elsewhere that day and does not have the Uber app on his phone.

Judge Sweet denied Lewis’ request to be released on his own recognizance but set bail at $150,000. Before the ruling, Lewis was being held without bail.

Lewis is set to return next week for further proceedings. He could face up to eight years in prison if convicted of the rape charges, plus additional jail time for the other misdemeanor charges.