wikipedia does not come out and say "this happened" or "the folktale was (or "must be") based on a historical event". it seems to suggest that the folktale is all the history we have, and everything else is a retcon