France recognizes Morocco's stance on Western Sahara, causing outrage in Algeria.
Algeria withdrew its ambassador in Paris, accusing France of violating international law.
France regards Morocco's 2007 plan for Western Sahara's autonomy as the only basis for a just and lasting political solution.
The shift in French stance also comes after a period of severe tensions with Morocco.
France faced risk of losing situation with both Morocco and Algeria due to deterioration of relations.
Conclusion: France has leaned towards Morocco, demonstrating that economic and political interests may outweigh principles of self-determination and international legality.