In the event that a portion of a commune is erected as a separate commune, the new commune automatically becomes a member of the public establishments for inter-communal cooperation to which the commune from which it has been detached belonged, unless other establishments are designated in the decree provided for in Article L. 2112-5. The new municipality’s participation in these establishments is governed by the provisions of the present code. In the event of the designation of other establishments, the withdrawal of the original establishment is carried out in accordance with the conditions set out in article L. 5211-25-1.