It seems strange to me that the render queue group is set to 0 regardless of the value of onlyRenderDepth.  Is there some side-effect of doing this which is not clear, or are calls to this function not actually reversible?