James was never so convinced to marry Mary and wanted Madeleine. He had almost accepted the Bourbon match when he meet Madeleine and they basically fell in love… Because Francis I would not have consented to the match if marrying James had not been also an explicit wish of his most beloved MadeleineApparently, James was going to marry Mary of Bourbon, then saw Madeleine and basically became Emperor Kuzco and declared that Madeleine was the "hotty hot hotty" and wanted her instead. So if Madeline is not there at the time, Mary of Bourbon it will be.