A judge granted a request Monday by Pamela Anderson (search) for a three-year restraining order against an alleged stalker.

Superior Court Judge Linda K. Lefkowitz called the claims against William Peter Stansfield (search), 29, "sufficient, clear and convincing" enough to issue the order preventing him from contacting the 38-year-old actress, who stars in the TV series "Stacked," or her family.

Neither Anderson nor Stansfield were in court.

Stansfield told "Inside Edition" last week that Anderson's allegations were "outrageous."

Among other things, Anderson said he approached her 7-year-old son at school and told her that she should work on a film with a script he wrote for her.

Other incidents involving Stansfield "frightened me tremendously," Anderson said in court documents.