What you said is true. There is a lot of politics involved in the aquisition of armament. If you look at the european F-16 operators map, the newest F-16 operators are also new NATO members and also on the borderland of the Alliance.
View attachment 808295
They aligned themselves in this way with the strongest NATO nation, USA, and its military. In case of a conflict with a big bad guy from the East interoperability and capacity to service on their own airports the "saviour" US Air Force was very important. And also was the need to be perceived as a good customer who "buys american" and needs to be protected.
In the case of Romania for example, the Gripen was a favourite when the replacement of the Mig-21 Lancer started to be discussed. It has some similarities with the Mig-21. Small, rugged, not so costly to operate, but "good enough" for what is required from a multirole. But at the time Sweden was non aligned and there were concerns about what would happen in the case of a conflict. What if the swedes decide to remain neutral and don`t help us with spare parts and aircrafts? In case of buying the "de facto" standard NATO multirole fighter, the F-16, even if the operation was more demanding and costly the stocks of spare parts would come from american depots, without the need to keep everything on site, and replacement airframes would have been recuperated from the ones stored at AMARG.
There is a reason for which both Poland and Romania have chosen the F-16, the Abrams tank, the HIMARS and the Patriot missiles. And this not necesarily because they the best in their class. But they are sold by the "best ally".