In Scarlet/Violet and Legends: Arceus, even Pokémon that are your Original Trainer (OT) can disobey based on the level met when caught. For traded Pokémon, this would be the level you receive them at when accounting for obedience.
In Gen I - VII, Sword/Shield, and Brilliant Diamond/Shining Pearl, only traded Pokémon can disobey if their level is too high, pertaining to their current level instead of the level they were met at. Pokémon with you as the OT will obey no matter the level.
Source