A guest at Mumbai's Cricket Club of India was banned after removing his shorts to enter a bar, defying the club's strict dress code.