LOS ANGELES (CBSLA.com) — A judge granted actress Salma Hayek a three-year extension of a restraining order keeping two women who have allegedly pretended to be the “Frida” star to stay away from her, her husband and their daughter.

The order against Liana Geordie Philippon and Odette Bodagh says they must remain at least 100 yards from Hayek, her husband, 53-year-old Francois-Henri Pinault, and their daughter, 7-year-old Valentina.

READ MORE: CDC Advisory Panel Votes To Approve Pfizer Booster Shots For Some Adults

Bodagh was present in court. She wept and apologized for her actions concerning Hayek.

“I was just being stupid,” Bodagh said. Goodson said Bodagh’s explanation was unacceptable.

“Being stupid sometimes has its consequences,” Goodson said, also adding that stalking someone is not something you can take lightly.

READ MORE: Metro Testing Trains Along Route Of Future Crenshaw/LAX Line

Attached to the 48-year-old Hayek’s court papers are copies of numerous text messages in which the two women allegedly impersonated Hayek while communicating with others.

“In one communication, while posing as Hayek, Philippon made a veiled threat regarding kidnapping and ransoming Hayek’s minor child,” according to Hayek’s attorneys’ court papers.

Philippon has a documented history of mental health issues and also has impersonated actress Angie Harmon, according to Hayek’s attorneys’ court papers.

Both Philippon and Bodagh demonstrated “mental instability” during questioning by Los Angeles police investigators, according to Hayek’s attorneys’ court papers.

MORE NEWS: Students Welcomed Back To UC Riverside Neighborhood With Mr. Rogers-Style Video

(©2015 CBS Local Media, a division of CBS Radio Inc. All Rights Reserved. This material may not be published, broadcast, rewritten, or redistributed. Wire services contributed to this report.)