It is direct discrimination to call someone a grandparent at work, even if they are one, an Employment Tribunal has ruled.