Unable to render Custom Depth with translucent material applied

something close to this topic is when translucent mat is shown, scene depth is wrong from the texture sampler. “Allow Custom Depth Writes” dosent help this.
Any idea about how to get the right scene depth while tranparent object is on?