"my pawn could have theoretically promoted to queen"
Final Game Result

Sure, the program isn't smart enough to know that. I guess programming every instance where it isn't possible would be a nightmare, so they just took the easy way out.

Sure, the program isn't smart enough to know that. I guess programming every instance where it isn't possible would be a nightmare, so they just took the easy way out.
I understand that. My question though is, if it was a human referee in a chess tournament, what would the ruling have been?

The program assumes your opponent would have given away his queen and bishop, and let you promote. The promotion doesn't need to be forced, just theoretically possible.
I recently finished a game with the above end position. I was playing white and won on time. The Chess.com ending game me a victory. I understand that in a position where the player who supposedly wins on time actually would have no possibility of winning should there be no time control the game is decided a draw.
In this case, while my pawn could have theoretically promoted to queen, it is quite clear that would have never happened. Is there any reason I was awarded a win? (Not that I'm complaining :P )