Judge sides with wineries, awards millions in damages