If Germany were most motivated by energy independence they would not have closed so many nuclear power plants. There are in fact lots of decisions that politicians make that are inconsistent with aiming for strategic benefits but are consistent with an earnest (and sometimes quixotic) concern for the environment. If the UK was so bent on energy independence we would have made more progress on heat pumps. Yet gas boilers (lifespan: 15 years) are still being fitted today. In truth, governments thing about energy security a bit, they think about green stuff a bit and they aren't always very effective agents of change...
I also think you're not right to imply that energy production largely happens as a result of government direction. In fact, energy prices are high at the moment and the prospect of profit drives development of green energy a great deal (not that subsidies don't have an effect as well).
To be honest (and I hope I'm not straying into a personal attack here - that's not intended) I think your viewpoint sounds clever because it is cynical. Cynical views - especially the attribution of an ulterior motive - usually sound clever. But I think your post is at best partly right and perhaps even mostly wrong. Political realism is a drug to take only in small doses.