All three of those positions are legal. Contrived, admittedly, but legal.
I think that all three are illegal
Certainly. The black pawn layout is illegal by itself in the first one and the second rank pawns block the kings from reaching their destinations in the second.
Oh. Yeah you're right. All 3 are illegal.