In that scenario Yaz would have a greater career, but be the inferior wrestler as far as abilities on the actual mat.
If he wins in Paris Yaz would be a 2 time olympic champ, 3 time olympic medalist and have senior world medals at weights ranging from 70kg to 86kg.
But you can't spend the prime of your career losing to the same guy and be considered better than him IMO. Taylor owned Yaz from 2017 - 2023. Maybe if Taylor was losing to other guys after beating Yazdani it could be explained away as a match up issue but that was not the case.
So yeah, i'd say Yaz was greater, but Taylor was the better wrestler.
If he doesn't win in Paris I think it could be argued Taylor also had the better career. He dominated a weight class and was clearly the number 1 guy in it for a few years. Something Yaz has never done.