Monster Beverage Corp has said it remains confident it will defeat legal action brought by San Francisco's city attorney, despite a court setback.