@pettter
Why would you say that? He could hand over power much more effectively and easily by actually dealing with them directly rather than calling a surprise election.
The election is doubtless a loss for Macron, and largely his own fault, but this is simply because he called it without any plans or preparation. To me it looks more like he was so shocked by the EP results that he couldn't believe they reflected real sentiment and gambled he'd win in the real thing.
Looking at the end result, the parliament he got was even worse for Macron than what he started with, so whatever reasons he had they were clearly dumb ones.