Multilayers and Mutually Overlapping Objects

Hello,

Can anyone give me some insight into how to properly composite render two objects, both of which partly overlap and are overlapped by each other (i.e. a two link chain), from a multilayer OpenEXR file in which each object occupies a seperate layer?

Thanks!

Use ZCombine.