Article L2223-27 of the French General Code of Local Authorities
The service is free for people without sufficient resources. When the public service mission defined in article L. 2223-19 is not provided by the commune, the commune shall pay the funeral expenses of these persons. It chooses the organisation that will provide the funeral services. The mayor shall arrange for the body to be cremated if the deceased has expressed this wish.