I have read an argument that this does not solve much, because "as commander-in-chief, Trump could (and likely would) simply refuse to order the military to come to the aid of NATO allies in the event of a Russian attack."
[1] https://www.noahpinion.blog/p/some-thoughts-on-where-the-war...
BTW, the linked article by Noah Smith is pretty interesting, IMHO.