For the implementation of 2° of Article 695-24 in the context of the surrender procedures provided for in this section, the execution of the arrest warrant may be refused if the person sought for the execution of a custodial sentence or a custodial security measure is not of French nationality but has been lawfully residing uninterruptedly for at least five years on national territory and the Public Prosecutor undertakes to have such execution carried out on the basis of a transfer agreement or a specific international agreement.