There is either no 1902 secret treaty between France and Italy regarding Libya, or the French simply ignore it. Either way, France occupies Libya before the Italians do.
How does this shake things up?
Germany remembers that it is kind of allied to the Ottoman Empire and declares war on France.
BOOM!
Why not?but it is not going to be a rerun of the Italo-Turkish War but with the French instead