It is illegal to move into check.