Sarkozy to consult EU on whether to attend Beijing Games