Monarchies have a long, long, long history of continuing to use the same names over and over again, even though the actual family lineage of the monarchy has changed. So of course the new princess can have her grandmother’s name, regardless of how Diana’s relationship with the monarchy was when she died.