LATEST: PAMELA ANDERSON scooped a legal victory this morning (03OCT05), when a California judge granted her request for a restraining order against an alleged stalker.

The hearing ended in a matter of minutes, with the Santa Monica Superior Court judge stating there is clear and convincing evidence to issue a three-year restraining order against WILLIAM PETER STANSFIELD, 29.

Neither Anderson nor Stansfield were present in court today.

The former Baywatch beauty had claimed that English-born Stansfield followed her all over Malibu, California, where she lives with her sons BRANDON, nine, and DYLAN, seven.

In court papers, Anderson alleged that Stansfield harassed her brother, her assistant and most recently showed up at her children's school.

According to the court documents, Anderson confronted Stansfield at her children's school, stating, "He began talking to me, explaining that he wanted me to stop working on (my TV sitcom) STACKED and work on a movie with a script that he had written for me."

Stansfield had allegedly been camping in a tent in Malibu - not far from Anderson's home.