 The process above does not work against a rook pawn.The reason is that when the king was forced in front of his pawn in other locations, he could move out the other side on the next move.With a rook pawn, this file is not available, and there can be a stalemate.