The filmmaker told journalists at the press conference for Transformers: Revenge Of The Fallen that he included Obama in the movie because of a brief meeting with the President.
Bay said: "The Obama thing? I met him in an airport where he was carrying his bag by himself and we talked about movies and apparently he likes my movies. So I figured we'll just put him in."
The director joked that he was able to include the up-to-date reference because he had only completed making the film last Wednesday.