(1)Not withstanding anything contained in the Code of Criminal Procedure, 1973 (Central Act 2 of 1974) the court when passing the judgment in a case falling under section 37A may, if it is satisfied that the death or grievous hurt or disability has been caused to any person or persons by consumption of liquor or intoxicating drug sold in any place, order the person who sold the liquor or intoxicating drug, whether or not he is convicted of an offence under section 37A to pay, by way of compensation, such amount as it deems just to the legal representatives of the deceased or to the person or persons to whom grievous hurt or disability has been caused:Provided that where the liquor or intoxicating drug is sold in a licenced shop the liability, to pay the compensation under this section shall be on the licensee.