Yeah, the Olympics has always had an age policy to keep it from competing in prestige with the World Cup, or even with some of the continental tournaments (Eurocup and Copa America mainly).
And, if we're really feeling cynical, to avoid FIFA messes in the WADA labs...