In short
A confiscation or penalty ordered by a customs officer under the Customs Act does not protect the person from criminal prosecution and punishment under Chapter XVI (offences) of the Act or under any other law. Both can proceed.
The award of any confiscation or penalty under this Act by an officer of customs shall not prevent the infliction of any punishment to which the person affected thereby is liable under the provisions of Chapter XVI of this Act or under any other law.
Source: Customs Act, 1962 — official text published by the Central Board of Indirect Taxes and Customs (CBIC) on its Tax Information Portal (taxinformation.cbic.gov.in), including the amendments noted above.
This page is educational. It is not professional advice or a formal tax computation. Verify the position against the official source above for the period that applies to you, and consult an authorised professional before acting on it.