The sentence enforcement judge or the sentence enforcement court may decide on the conditional release of a foreign national sentenced to a custodial sentence and who is the subject of a decision mentioned in article L. 700-1, with the exception of its 4°, or of an extradition or surrender measure on the basis of a European arrest warrant under the conditions provided for in article 729-2 of the Code of Criminal Procedure.