What is the problem? The US does this all the time. For example, UK can't use its nuclear missiles without green light from US because it is the US that gave the UK the technology.
Sweden is a peace loving country. Thai use of the Gripen jets was for offense, not defense. That's the issue...