Heineken has beaten off rivals to ensure that its namesake beer will be the official lager at the London 2012 Olympic Games.