The High Court in the Indian state of Kerala has upheld a ban on bars and hotels serving spirits.