Simply put, when the game attempts to kick you, certain coded sequences fail to execute on the server.
When that happens, it just cancels the kicking attempt.
Pseudocode of what happens:
Code:if( command->IsKickCommand() ) { GameClient clientToKick = GetGameClient( command->GetText() ); if( clientToKick == nullptr ) // This is what happens return; else GameKickClient( clientToKick ); }