J&J Snack Foods has announced that an agreement to acquire the bakery assets of Country Home Bakers has been approved by the US Bankruptcy Court.