I'm not 100% sure why this isn't an enforced thing anyway, especially in later gens, but in-game, Keldeo cannot know Secret Sword without being in Resolute Forme from B2W2 and up. On the surface, it seems like a pointless, cosmetic thing, but it actually is a major giveaway if Keldeo is carrying...