Actress Lindsay Lohan must serve 125 more hours of community service after a California judge invalidated many of her credited hours.

Judge Mark A. Young of Los Angeles County Superior Court on Wednesday extended for three months Lohan's probation stemming from a 2012 reckless driving case, ruling that hours spent in certain activities would not count toward her mandated 240 hours of community service.

Lohan's attorney, Shawn Holley, told the Los Angeles Times that the court and prosecutors "had a problem with some of the work-shadowing," referring to the actress having had young people follow her throughout her workday. "They didn't want to hear more about how that played out."

Holley conceded to reporters outside the courthouse that some of the hours involved the youngsters seeing Lohan, 28, perform onstage in the London revival production of David Mamet's play "Speed-the-Plow." "Granted she was performing in the play," Holley said in a video posted at TMZ.com, "but she made arrangements for a number of people to come to the play, she met with them before the play, she introduced them to a number of people who worked at the theater. So from our standpoint it really was facilitating a wonderful thing to provide an opportunity to people who wouldn't otherwise get to meet those kind of people in those kinds of positions and see a play like that."

Holley told the Los Angeles Times that the "Mean Girls" star, originally of Merrick and Cold Spring Harbor, "doesn't have a problem" with completing the additional hours. "She's enjoying doing community service," Holley said. "Her passion is really working with kids . . . and kids really respond to her."

Young scheduled a proceeding on March 12 to determine the terms of the community service.