It has apologised to a history group after saying a Black Country delicacy violated its standards.