Buggy is one of Luffy's earliest enemies in the story, & he will be his final rival for the one piece, this guy is so lucky. Shanks will be defeated by BB, and Luffy defeats BB, and then Buggy comes to play the final match.
I don't know how, but since Mihawk is part of CG, it will make sense...