Under what circumstances the detained goods and conveyance seized could be released

The goods/ conveyance could be released under the following circumstances:
(a) on payment of the applicable tax and penalty equal to 100% of the tax payable on such goods, and in case of exempted goods on payment of an amount equal to 2% of the value of goods or twenty-five thousand rupees, whichever is less where the owner of the goods comes forward for payment of such tax and penalty;
(b) on payment of the applicable tax and penalty equal to the fifty percent of the value of the goods reduced by the tax amount paid thereon, and, in case of
exempted goods, on payment of an amount equal to five per cent. of the value of goods or twenty-five thousand rupees, where the owner of the goods does not come forward for payment of such tax and penalty.
(c) upon furnishing a security equivalent to the amount payable under clause (a) or clause (b) in such form and manner as may be prescribed:
Provided that no such goods or conveyance shall be detained or seized without serving an order of detention or seizure on the person transporting the goods.

(ICAI FAQ PUBLICATIONS 06-09-2017 Detention, seizure and release of goods and conveyances in transit : FAQ NO. 15)