It is possible that Joan was betrothed to one of the sons Louis had with Margaret II of Hainaut, Philippa's older sister, and actually stayed in their court to be educated there.
It is conceivable that Joan was betrothed to one of Louis' sons from his marriage to Margaret II of Hainaut, Philippa's older sister, and therefore resided in their court to receive an education.