Anheuser-Busch InBev has secured a court order to end worker blockades on its breweries in Belgium.