Unless they have not complied with a previous decision requiring them to leave French territory or if their behaviour constitutes a threat to public order, articles L. 612-6, L. 612-7 and L. 612-8 do not apply to foreign nationals required to leave French territory on the grounds that the residence permit issued to them under articles L. 425-1 or L. 425-3 has not been renewed or has been withdrawn or that, as the holder of a residence permit issued on the same basis in another Member State of the European Union, he or she has not returned to the territory of that State on expiry of his or her right of movement on French territory within the time limit, if any, set for him or her.