When the debt of a thing certain and determinate proceeds from a criminal offense, the debtor shall not be exempted from the payment of its price, whatever may be the cause for the loss, unless the thing having been offered by him to the person who should receive it, the latter refused without justification to accept it.