France is pushing for a two state solution in Israel. So it was dumb to attack it to begin with. I don't know what they are trying to accomplish. Legitimize the recent US and Israeli attacks against Iran? The Iranian leadership probably doesn't want peace in Israel because if that ever happens, they cannot further instrumentalize the Palestinians and Lebanese muslims against Israel.
Iran's beef with Israel is not because they care about the Sunni Palestinians or Palestinian land rights or something like that. They certainly don't want peace, they want Israel wiped off the face of the earth as a religious goal in itself, and for being the only non-Islamic country in the Middle East. Any concern expressed by Iran for Palestinians is purely for propaganda purposes: It's easier for Westerners to sympathize with than saying they'd like to destroy Israel and kill all the Jews simply for existing.