I had to start an account to comment on this, 'cos it's just about the most frustrating, disheartening thing that can happen, and it happens over and over and over again. My current ranking score sits at 1435, with a 9/15 win/loss record, and whilst I have had a few games disconnect randomly due to no apparent fault at either end (error 54001 or something like that. I presume that's just down to flaky server connections at Nintendo's end) which I probably would've lost anyway, I must've had something like 20 legitimate wins stolen from me at the last second. I've experienced a fair bit of it on free battle too (31/29 so far, so at least I have a positive win ratio. Barely), but not to the extent it does on ranking.
The shame of the thing is that this was something I was genuinely looking forward to with B/W, because after 12 years of playing Pokemon, Game Freak had finally delivered what the game has always supposed to have been about. Connecting with people, having fun battling with your hard trained Pokemon. If I was a lousy player and I was losing match after match due to a poor team of just plain old bad play, I could live with that. I haven't deliberately quit out of a single match, and I have taken every loss I have suffered on the chin.
If the other player is better than me, fair enough. I never kidded myself I was going to log on and discover I was the best player in the world. Hell, I don't even care if I lose to a bad player 'cos of hax or a bad call on my part. These things happen, and it's not like I ever complain when I'm the one lucky enough to land three crits in a row and take the match with no effort, so if I'm on the recieving end then c'est la vie. I can even just about live with the idiots who ragequit early because they lost a crucial Poke or missed on an important move (although it's still a long way from being good sportsmanship). The ones that really get to me are the ones that wait until the ABSOLUTE last second to rob you of your hard fought victory. The ones who reward you playing well by stealing your achievement, minor though it may be. Bratty, cheap little gits who seem to believe that winning is the only thing that matters.
There MUST be something Nintendo can do here. The system seems to recognise the difference between a system error and a quit, since it doesn't give an error message when the other player quits out ("the connection with the other player was lost", rather than anything else), so there has to be a way to implement something to punish cheats. Hell, the battle subway doesn't allow players to cheat by quitting out rather than taking a loss, why should WiFi?
Anyway, that's my rant over. Guess I'm mostly just gonna have to keep reminding myself it's only a game and suck it up. Still, I did need the rant...