Wow, we have some interesting positions.
Is this position legal?
Black king is checked, so it must have been white's move previously. But the only square the bishop could have come from is d6, which would have meant black was checked the previous move too, without escaping = illegal.

The position above is illegal because the only way either side could get more than one pawns on a file is if the pawn made a capture, and each side has all of its pieces.

#159 illegal, black needs at least 15 captures.
#160 legal, 8 pieces missing and 8 captures needed for the pawns to cross.
Wow, we have some interesting positions.