Gerard Butler just RocknRolla'd his way right out of a lawsuit.
The sometimes-studly Scot settled a misdemeanor battery charge out of court, stemming from a 2008 dustup with a paparazzo after the premiere of the aptly titled Guy Ritchie flick.
Butler's much-delayed case finally made it to a Los Angeles courtroom Tuesday, but the actor and alleged victim had already reached an undisclosed agreement.
Frank Mateljan, a spokesman for the L.A. City Attorney's Office, tells E! News, "The matter was resolved today with a dismissal as a result of a civil compromise—the defendant settled with the victim, and also completed 50 hours of community service, which we required. Everything has concluded."
—Reporting by Ashley Fultz
________
At least Gerard didn't end up in one of the juiciest scandals of 2009.