The 59-year-old Oscar-winning actor had argued he should be excused from attending his Jan. 7 arraignment at the Nantucket District Court because his presence would "amplify the negative publicity already generated in connection with this case." But Judge Thomas Barrett denied Spacey's request.
Spacey has said he will plead not guilty to felony indecent assault and battery.
The allegations were first brought in November 2017, when former Boston TV anchor Heather Unruh told reporters that Spacey groped her teenage son during a chance encounter in the crowded bar of a Nantucket restaurant.
An attorney for Spacey, Juliane Balliro, had argued that Spacey's presence at his arraignment would only "heighten prejudicial media interest in the case" and increase the risk of contaminating the jury pool.
Emails seeking comment on the judge's ruling were sent to Spacey's attorneys and the district attorney's office handling the case.
It was unclear whether he was addressing the criminal charge.
Spacey's attorneys have also questioned the evidence against him.
Los Angeles-based attorney Alan Jackson noted during a hearing that Unruh's son did not report the allegations to police right way, lied about his age saying he was 23, and said he was so intoxicated he may have blacked out shortly after Spacey allegedly groped him, according to an audio recording of the hearing obtained by The Boston Globe.
Unruh told reporters that her son didn't report the assault at the time because he was embarrassed and scared. Her family decided to come forward after others went public with allegations of sexual misconduct against Spacey and other celebrities, she said.