When a foreign national who has been refused entry to French territory on the basis of asylum lodges an appeal for annulment on the basis of article L. 352-4 in the last four days of the period of detention in the waiting area set by the last detention decision, this period is automatically extended by four days from the lodging of the appeal. This decision is recorded in the register provided for in the second paragraph of article L. 341-2 and brought to the attention of the public prosecutor under the conditions set out in the same article. The liberty and custody judge is informed immediately of this extension. He may terminate it.