The whole or any part of customs duty, surcharge, penalty, fee or other money after having been paid, have been, owing to any cause, erroneously refunded, the person liable to pay such customs duty, surcharge, penalty, fee or other money or the person to whom such refund has erroneously been made, as the case may be, shall pay the deficiency or repay the amount paid to him in excess, on demand being made within 6 years from the date on which customs duty, surcharge, penalty, fee or other money was payable or deficient customs duty, surcharge, penalty, fee or other money was paid or the refund was made , as the case may be, and without prejudice to any other remedy for the recovery of the amount due, any goods belonging to such person which may be in customs control may be detained until such customs duty, surcharge, penalty, fee or other money or deficiency be paid or the refund be repaid, as the case may be. …..