In such a scenario a product won’t be visible in both categories even if one of them is not restricted.