France has always been a country that cares first and foremost about itself, which is normal, but sometimes it is so calculating that it comes across as not caring and spineless.
France is a huge economic exporter to the Arab world. Its wheat and military exports to Saudi Arabia and the Arab world are literally in the billions of euros.
At the same time, France is a founding member of the European Union, a permanent member of the UN Security Council and a strong member of any Western alliance of which the US is the leader. This means that Paris has to balance its interests with the Arab world with its role in the Western alliance.
A month ago, France was eager to attack Syria for its use of chemical weapons, only to see America suddenly back off as a result of an agreement with Russia.
In the Middle East conflict, the French have been slightly leaning in favor of the Arab position while maintaining its good relations with both Israel and the US. For years, Arab leaders and ideologues have romanticized France's role as the savior of Palestinians and the Arab world, only to be regularly disappointed when nothing happened.
France's political calculation and attempts to be seen as neutral sometimes come close to being absurd.
One foreign diplomat once told me that a French leader felt he had to stay in a meeting with Palestinian President Mahmoud Abbas longer than he wanted just to give the appearance to the waiting press that he was actually conducting business, when in fact he was simply killing time.
This attempt at giving the impression of balance was exposed during this week's visit by the domestically unpopular President Francois Hollande to Israel and Palestine.
Israel gave Hollande the red-carpet treatment largely for his country's hard-line position in the P5+1 talks with Iran. The French president responded in kind, delivering a pro-Israel speech in the Knesset and during all his other outings.
Hollande also made the routine visit to Ramallah, met with Abbas and attempted to hit all the right political notes at all his press conferences.
He used the word Palestine a few times when referring to his visit to the Israel-occupied Palestinian areas and repeatedly talked about the two-state solution and the need for Jerusalem to be the capital of Israel and Palestine.
But the cold over calculation and constant attempt to appear balanced and fair to both sides suddenly came apart when he dealt with the issue that Israelis hate to hear about: settlements.
Hollande correctly opposed the latest settlement announcements, including the decision to build in the controversial E1 area near Jerusalem.
Palestinians and even the US have staunchly opposed this particular settlement for its potential to deny any serious contiguity in the West Bank, as it blocks the north-south axis of a future Palestinian state. But in his remarks, Hollande was careful not to criticise settlements as such, but the possibility that the announcements might complicate things.
In his speech at the Knesset and at press conferences alongside Abbas and Netanyahu, Hollande had the same tone. Speaking to the Knesset, the French president said that settlements "complicate negotiations and make the two-state solution very difficult."
So despite the fact that the International Court of Justice at the Hague considers settlements illegal, and despite the fact that his own government and the EU, of which France is a founding member, also consider settlements built in occupied areas a violation of international law, and specifically of the Geneva Convention, Hollande is only worried that the announcement at this time "complicates" things.
In other words, if it had been made at a different time, not now when talks are taking place, he might not have been so opposed to them.
This attempt at balance was caught by a reporter who simply asked the French president if he was willing to attribute to settlements US Secretary of State John Kerry's description during a joint interview with Palestinian and Israeli TV: "illegitimate".
It was a perfect opportunity for the European leader to say something serious while being able to hide behind France's (and Israel's) ally publicly stated position.
Instead, Hollande repeated that settlements 'complicate' things and that they damage chances for a two-state solution. He should have described them for what they are: a violation of the Fourth Geneva Convention.
France of all countries should be familiar with the Fourth Geneva Convention, which was produced to deal with prolonged occupations. It came about after (what seemed at the time long) German occupation of France in World War II.
Referring to the Geneva Conventions, the International Committee of the Red Cross states: "It is unlawful under the Fourth Geneva Convention for an occupying power to transfer parts of its own population into the territory it occupies. This means that international humanitarian law prohibits the establishment of settlements, as these are a form of population transfer into occupied territory. Any measure designed to expand or consolidate settlements is also illegal. Confiscation of land to build or expand settlements is similarly prohibited."
Instead of talking about "complicating" the peace process, the French leader should have simply said that settlements are illegal. By trying to appease Israelis on a principled issue he clearly disappointed Palestinians and Arabs and betrayed France's long standing position.
Follow Daoud Kuttab on Twitter: www.twitter.com/daoudkuttab