The legal battle between Anheuser-Busch and a beer distributor has come to an end.