You really should read Putin's 2021 essay on why Ukraine should be Russian
https://en.wikisource.org/wiki/On_the_Historical_Unity_of_Ru...
https://en.wikisource.org/wiki/On_the_Historical_Unity_of_Ru...
I contend that it chose to invade because its leader wants to integrate Ukraine into the Russian Federation, and offered this as evidence of that desire. I think that contradicts your statement as to the true rationale for the invasion.
(Of course, Putin's invasion has driven that wedge much further, and destroyed the relationship much more thoroughly, than the "Nazis" ever could. That's why I called him delusional)