If your weapons can stop working according the whim of America, that would be seriously subpar.
It sounds hypothetical but seriously, what would Gripen do if tactical nukes were dropped on Estonia and Putin threatened the same on Sweden if they didn't back off? I don't know, and you don't either.
*I've not seen credible accusations this is possible, but assuming it is