'Starsky' Gets Restraining Order Against Superfan

5/5/2011 4:30 PM PDT

'Starsky' Gets Restraining Order Against Superfan

The guy who played Starsky on "Starsky and Hutch" back in the '70s got a major victory against an obsessed superfan today -- after a judge ordered the woman to stay the hell away from him.

As TMZ first reported, 68-year-old Paul Michael Glaser filed a restraining order last month against the woman who used to run his official website -- claiming she was "irrational" and he "feared for his safety".

Moments ago in L.A. County Superior Court, a judge agreed to grant the restraining order after hearing from several witnesses ... one of whom claimed the woman "felt safe living in her car 100 ft from Paul's home."

During the hearing, Glaser -- who was in attendance -- was asked to "describe his T.V. experience" to the court -- because the judge had NO CLUE who he was ... which is shocking because literally every person alive in the '70s watched that show ... according to multiple experts in "old people stuff" here at TMZ.