Notwithstanding the transfer, whether voluntary or by operation of law, of all or part of its competencies in terms of housing policy or housing to a public establishment for inter-municipal cooperation, the municipality retains the option of granting a loan guarantee or its surety for the construction, acquisition or improvement of social housing referred to in article L. 2252-2 and to provide subsidies or land grants for these operations.