France has explained when a foreigner may lose permanent residence status and listed the situations where the person may still be allowed to keep it.