It's not illegal to sell product that past its "best before" date. But selling product past its "expiry date" or "used by date" is not allowed. Product that past its "best before" date is OK to consume although they may not be as good in quality as it was before, but not harmful to people. If you find the quality unacceptable, then return the product, make a complaint and get a refund.