The Spanish had to put up with--sporadically, to be sure--Joseph Bonaparte on the throne, but I'm not aware of any significant and similar political control exerted on Portugal.
Anthony Gray will know the nuances of French political domination or influence better than anyone else, I think. Of course, there was the reality of the army tramping through the countryside...