It is notI initially thought that it isn't possible for a pawn to promote a pawn on a back-rank rank square that is adjacent to the king. This would imply that, before the pawn was pushed to the last rank, the king was on the square forward and diagonal to the pawn. Thisas that would, of course, mean suggest that the opposing king either moved into check or failed to move out ofwas left in check on the previous move.
For example, say on move 36, black wants to play e8=Q+
and the king is on f8
turn. This meansBut remellion pointed out that, before the pawn was pushed to the eighth rank, the a pawn wascould promote on e7
anda square adjacent to the white king wasif it captures on f8.
This implies that the king either moved into check or failed toits promoting move out of check on their last turn. This position you are referring to is impossible in chess.
If, however, the king is on square other than f8
or d8
, say h8
, then yesEither way, assuming no pieces are between the promoted pawn to queen and the whiteopposing king, the white king would be in check on this next turn.