Board Thread:Theories and Speculation/@comment-26636534-20200616201221/@comment-39350828-20200616203425

I don't think they'd have accepted but assuming they did it might still have been possible for obito to make sure yahiko dies and nagato joins his side but he would probably have to take some extra steps to make sure jiraiya doesn't try to convince nagato not to become evil since yahiko's death would be more known about in the hidden leaf. If that failed the rinnegan that nagato has are essential to his plan so he would need to do something along the lines of killing nagato for his eyes. It's also possible that after becoming leaf ninja they decide to leave the village and form the akatsuki anyway (if that's even allowed) because it seems more in character for them to create a relatively borderless non-aligned organization like akatsuki was than to affiliate with a particular country.