Pokémon the Series: XY
Bad to the Bone
S1 E75:
Our heroes are headed to the Pokémon League tournament at the Indigo Plateau when they meet another Trainer going their way. Unfortunately, all of his Gym badges have been stolen, so he can't compete...unless he takes Ash's badges instead!