Compositing multiple scenes and passes with transparency
You can use the alpha channel of the trees renderlayer as a mix factor between the sky and the trees:



You can combine the Mist pass with the trees however you like, just replace the screen node with whatever nodes you want.