When captured with a Pokéball, a Pokémon is basically forced to listen to their new master.
I wonder if a similar effect happens here…