The gallon was removed from the list of legally defined primary units of measure catalogued in the EU directive 80/181/EEC for trading and official purposes, with effect from 31 December 1994. Under the directive the gallon could still be used, but only as a supplementary or secondary unit. One of the effects of this directive was that the United Kingdom amended its own legislation to replace the gallon with the litre as a primary unit of measure in trade and in the conduct of public business, effective from 30 September 1995. However within the United Kingdom and Ireland, barrels and large containers of beer, oil and other liquids still tend to be in multiples of the imperial gallon.