Yes, in more recent years that was made law, and we should start to abide by it.
But it’s not “smart” and “realpolitik” to simply acknowledge what a military alliance is. That’s just agreement of basic definitions. Depending on who we have in office, our tolerance for war crimes and following laws changes dramatically.