The decision on the merits must be made within six months of the decision ordering the provisional measures, failing which the child will be returned to his parents, guardian, person or service to whom he has been entrusted, at their request.
If the investigation is not completed within the period provided for in the previous paragraph, the judge may, after consulting the public prosecutor, extend this period for a period that may not exceed six months.