"The executing judicial authority may refuse to execute the European arrest warrant: ..... 6 if the EAW has been issued for the purposes of execution of a custodial sentence or detention order, where the requested person is staying in, or is a national or a resident of the executing Member State and that State undertakes to execute the sentence or detention order in accordance with its domestic law."
"1. The issuing Member State shall deduct all periods of detention arising from the execution of a European arrest warrant from the total period of detention to be served in the issuing Member State as a result of a custodial sentence or detention order being passed. 2. To that end, all information concerning the duration of the detention of the requested person on the basis of the European arrest warrant shall be transmitted by the executing judicial authority or the central authority designated under Article 7 to the issuing judicial authority at the time of the surrender."