The valve is not connected to the grey tank, only to the black tank. The valve is an air gap as well as a back flow check valve to prevent black tank contents from flowing out if the tank and into a fresh water system.
https://www.amazon.com/RecPro-Breake...a-901367944989