I don't know that it would make a significant in France 1940.
However, IMO it would change North Africa a lot if Rommel is not sent there.
The British still rout the Italians in COMPASS, and Hitler still sends the DAK to Libya. But a commander other than Rommel is unlikely to launch an immediate counterattack. The plans agreed on with Commando Supremo was for the Axis to rebuild in Tripolitania and get well prepared first.
The problem is that this gives the British time to establish better defenses in western Cyrenaica. And with control of western Cyrenaica, the British can attack the Axis SLOC from Italy to Libya more effectively. ISTM that the British forces would build-up faster than the Axis, further discouraging the Axis from attacking. That's a feedback loop. A secondary loop is that as the British build up in western Cyrenaica, the Axis SLOC will be more attacked, slowing the Axis build-up.
IOW, ISTM that there was a window of opportunity in March 1941, which Rommel used OTL. And IMO, a different German commander probably would not have done so. By June 1941, Tripoli would be effectively blockaded, and the Germans would probably write off Africa. I doubt that Hitler would break French "neutrality" in Tunisia for a losing front. At most, they would evacuate via Tunisia.