I think I see it now, if there was a black rook on d4 then the moves: Kh8, Bxd4+Would render the position legal