That's pretty irrelevant, most countries will either buy western products or Chinese/Russian products, regardless of what price and how good they are. Romania isn't gonna buy the JF-17 no matter what.
Correct. sometime it is not the best piece of hardware that would win the contract. Most of the time it boils down to... Politics... something like, what is the most politically correct type of equipment.
And sometime it is the stereo type sentiments for the originator of the hardware that will be sold.