The economic slump has created a tricky situation for Beijing, as it tries to shepherd the economy through a transition.