The country has become an inhospitable place for foreign dissidents. The situation looks set to get worse.