The ruling by Judge John Cleland in Centre County Courtopens the door for the prosecution, in turn, to have Sanduskyundergo a psychological examination, raising the prospect thathe could be evaluated as a pedophile.

The ex-coach faces 52 counts of abusing 10 boys, known incourt documents as Victims 1 to 10. The prosecution wrapped upfour days of testimony in the high-profile case on Thursday anddefense attorney Joe Amendola expects to start calling witnesseson Monday.

The defense filed a motion on Monday asking that apsychologist be allowed to explain that letters Sandusky wroteto an alleged victim were consistent with histrionic personalitydisorder and he was not trying to lure them into sex.

People with the disorder are highly emotionalattention-seekers who show inappropriate sexually seductivebehavior. The prosecution has contended that the letters arepart of "grooming behavior" toward victims by a sexual predator.

In his ruling, Cleland granted the defense motion and saidSandusky "shall make himself available to the Commonwealth forthe purpose of preparing rebuttal psychological/psychiatrictestimony."

The prosecution has entered as evidence letters Sanduskywrote to Victim 4. In one, Sandusky said: "I know that I havemade my share of mistakes. There has been love in my heart. Mywish is that you care and have love in your heart."

A State College psychologist, Alycia Chambers, said in a1998 police report obtained by NBC News in March that Sandusky'sbehavior was that of a pedophile.

Penn State police asked Chambers and a second psychologist,John Seasock, to evaluate Sandusky's actions after an11-year-old boy said he and Sandusky had showered together.

Seasock concluded there was no evidence of a sexual offense. No charges were filed.

Prosecutors allege Sandusky had physical contact with theboys over a 15-year period that ranged from tickling and a "soapbattle" in Pennsylvania State University football showers tooral and anal sex.

Eight of the alleged victims gave often-graphic accounts ofalleged abuse this week. Amendola has said they are out formoney and underscored inconsistencies in their stories.

The abuse charges shook the university and prompted thefiring in November 2011 of university President Graham Spanierand revered head football coach Joe Paterno.

In a separate case, two university officials also facecharges of perjury and failure to report suspected abuse.