He wanted to know whether a railway ticket could be cancelled after it was purchased