India's highest court on Tuesday recognised the existence of a third gender that is neither male nor female, in a landmark judgement hailed by transgender people.