NEW YORK - Dominique Strauss-Kahn formally asserted Monday he was not guilty of charges he tried to rape a hotel maid, but drama unfolded outside the Manhattan courtroom as protesters jeered the former International Monetary Fund leader and as lawyers for the housekeeper said she was eager to testify despite a "smear campaign" against her.

Strauss-Kahn's attorneys offered a rival account of the May 14 encounter at his $3,000-a-night Manhattan hotel suite, hinting again that the bank chief - seen before the incident as the prime threat to French President Nicolas Sarkozy in the next election - might argue the encounter was consensual.

By the end of the case, "it will be clear that there was no element of forcible compulsion in this case whatsoever," defense lawyer Ben Brafman said. "Any suggestion to the contrary is simply not credible."

Strauss-Kahn, looking resolute, declared "not guilty" in a strong voice in a routine legal proceeding that lasted less than 10 minutes as his wife, French journalist Anne Sinclair, watched.

It was the French diplomat's first court appearance since he was released on $6 million in cash bail and bond last month. He has been under house arrest that includes 24-hour monitors and armed guards in a deluxe townhouse in the trendy TriBeCa neighborhood.

A throng of hotel workers, many in their uniforms, chanted, "Shame on you!" as he left the courthouse in a black sport-utility vehicle.

The protesters wanted to send the message that "New York is the wrong place to mess with a hotel worker," said Aissata Bocum, a Ramada Inn housekeeper. The 50 or so workers, mostly maids, were bused in by their union.

After Strauss-Kahn was driven away, his lawyers duked it out with attorneys for the accuser, a 32-year-old West African immigrant. In sequential statements before an international horde of reporters, each side's lawyers argued that their client's version of events would prevail.

Strauss-Kahn, 62, was scheduled to check out of the Sofitel hotel, near Times Square, the day of the encounter. The maid told police he chased her down a hallway in his hotel suite May 14, tried to pull down her panty hose, and forced her to perform oral sex.

The maid's attorney, Kenneth Thompson, said his client would testify at trial and tell the truth despite the "smear campaign that is being committed against her."

Strauss-Kahn's next court date was set for July 18.