Welcome to Smogon! Take a moment to read the Introduction to Smogon for a run-down on everything Smogon, and make sure you take some time to read the global rules.
http://pokemonshowdown.com/replay/randombattle5964063
On turn 4 when he switches back to stoutland it shows that he has two stoutland and continues for the rest of the match