According to your theoretical, Russia could attack and immediately invalidate Ukraine's ability to join NATO by re-triggering a conflict.
Come on is this stuff really that hard?