A child was left in hospital after having an allergic reaction to a biscuit containing an ingredient not listed as being in the product.
It resulted in a UK-wide product recall and the biscuits removed from sale at shops.
Details emerged in a court case taken by Belfast City Council on Tuesday.
In a hearing at Belfast Magistrates' Court Nevis Bakery Limited from Inverness-Shire in Scotland pleaded guilty to failing to provide information on an allergenic ingredient - namely eggs - on a product called ‘Empire’ biscuits.
The firm also admitted to putting the biscuits that were deemed unsafe and considered injurious to health to a specific category of consumers on the market.
Nevis Bakery Limited was fined £6,000 and ordered to pay over £3,000 legal costs.
The prosecution was taken by the council after it received a complaint of a young child suffering an anaphylactic reaction after eating a biscuit. The child who is allergic to eggs was hospitalised as a result of the adverse effects of eating the biscuit.
Belfast City Council worked in partnership with the local authority in Scotland to ensure a UK-wide product recall was launched and the biscuit was removed from sale in April last year.
Nevis Bakery has since reissued the biscuits with the correct allergen information and ingredients clearly listed on the packaging.