Lawmakers faced criticism and threats but the law was approved, giving the country's winemaking industry added juice