(2)On the payment by the person the sum of money or the value or both, as the case may be, such person, if in custody shall be set at liberty, and all the property seized may be released and no proceedings shall be instituted or continued against such person in any Criminal Court. The acceptance of compensation shall be deemed to amount to an acquittal and in no case any further proceedings be taken against such person or property with reference to the same act.]