Where the conviction is for more than one offence and, for one of the reasons set out in articles 728-32 or 728-33, it cannot be recognised and enforced insofar as it relates to one or some of these offences, the public prosecutor shall consult the competent authority of the convicting State in order to determine whether partial enforcement of the decision, in respect of only those offences that may justify recognition and enforcement, is possible. In the case provided for in the first paragraph of this Article, if a single custodial sentence or detention order has been handed down for all the offences, the length of the sentence enforced may not exceed, within the limit of the length of the sentence handed down, either the maximum legally applicable, under the law of the convicting State, to the offence which may authorise enforcement of the decision in France, or the maximum legally applicable, under French law, to the corresponding offence. Where several of the offences for which the sentence was imposed may justify recognition and enforcement, the most severely punished offence under the law of the sentencing State shall be taken into account in determining the maximum duration of the sentence that may be enforced. .