By way of derogation from the provisions of article L. 5125-3-2, the optimal nature of the response to the needs of the resident population is assessed solely with regard to the conditions set out in 1° and 2° of the same article in the following cases:
1° The transfer of a pharmacy within the same district, or within the same municipality when it is the only pharmacy present within this municipality;
2° The grouping of pharmacies in the same district within the same municipality.