During the cold war, West Berlin was an exclave - a tiny outpost of liberalism surrounded by people who want to crush it. It was like Austin, Texas.
My solution would be to bridge the skills gap, such as coal to gas training, you have to give people a sense of hope that they have the tools to be able to diversify and stay in the community where they wish to live.