Spain will participate in the Olympics football tournament, but Manchester City have blocked Ferran Torres from taking part.