The court said delays in introducing the warning labels would come at the cost of public health, particularly of children