It is more than friendship. France was in very bad conditions as country and Suleiman decided to save France from their bad situation in order to get France to Ottoman side and divide Christian countries when they unite against Ottomans at the wars. So, it worked too. France got economic privileges by Ottomans and that made France’s economy better. Then, France had done what Ottoman wanted for around 200 years. For instance, France sided with Ottomans while all countries were against Ottomans at 1682 Great Turkish war. Anyway, we cannot say Ottomans ruled the France but we can say they had good relationships like alliance for a few centuries. That is why Turkish has a lot of French words.