The family have long demanded civil immunity, and the court’s ruling removes a key barrier to the money being paid out. It will go to local and state governments, as well as individuals who sued the company, and is expected to fund rehabilitation programmes and other addiction treatments.