If the black knight can’t move because it would put himself in check can the white king take the queen? Or would putting the king in D1 or D3 be an illegal move?