Bill ClintonBill Clinton has filmed a cameo for 'The Hangover 2.' The former president will play himself in the film and shot his brief performance on Saturday in Bangkok, Thailand, a source confirmed to PEOPLE.

Clinton was in Bangkok to deliver a speech on clean energy.

'The Hangover 2' courted controversy when Mel Gibson was hired to play a tattoo artist in the movie. The cast was reportedly not happy working with Gibson following his recent troubles, and the actor was nixed the day before he was set to begin shooting, amid chatter that Zach Galifianakis, in particular, was vocal about his discomfort with Gibson.

"I'm in a deep protest right now with a movie I'm working on, up in arms about something," Galifianakis vented, but refused to identify 'The Hangover 2' or Mel Gibson by name.