Justin Wins Permanent Restraining Order

11/9/2009 7:30 PM PST BY TMZ STAFF
Justin TimberlakeJustin Timberlake didn't show to court this afternoon -- but he still got the permanent restraining order he was after.

Karen McNeil was ordered to stay 100 yards away from JT, his home and his vehicle. She is not allowed to contact him -- directly or indirectly.

Justin's lawyer, Marty Singer, gave the judge a written declaration from his client that apparently was good enough for the judge, who had requested a courtroom cameo earlier today.

McNeil testified for a bit, as did a few of JT's security guards.