I still say Luffy wants to go to space. Why did he have to declare that he was going to become Pirate King for over twenty years? Also the Strawhats are always affirming that Luffy is going to be Pirate King. Now what are they all going to shout? “Luffy is going to do that thing!”
Why would going to space be ever linked to being the pirate king?
It's either something about freedom or "making everyone smile".
Again another retcon that wasn't needed in my opinion, just liek the nika fruit that could have just been "the same fruit as Joyboy" and an awakened gum gum.
Luffy could still want to be the pirate king because it means X, and not just say that his dream is X. This heavyhanded foreshadwoing is pretty poor in delivery in my opinion, although needed because if Yamato knows it, of course the crew has to know it.