The Spider-Man star alleges Jean Christophe Prudhon, 51, has flown to the U.S. in a bid to meet her, even confronting her mother Inez on the doorstep last week (ends04Dec11).
Dunst also claims Prudhon had sent her more than 50 letters declaring his love for her and that he had sold his home to pay for his travel expenses to America.
In a court filing, the actress explains, "I am frightened for my safety, as well as the safety of my family and friends who visit my home. I am worried that Mr. Prudhon will escalate his conduct further, putting myself and my family in danger."
On Friday (09Dec11), Los Angeles Superior Court Judge Carol Boas Goodson granted Dunst a temporary restraining order against the Frenchman. The judge ordered Prudhon to stay 100 yards (91 metres) away from the actress and to stop trying to contact her.
A hearing has been scheduled for 21 December (11) to determine if the order should be extended.