In all cases in which judgement is given that a person is guilty of one of several offences specified in the judgement, but that it is doubtful of which of these offences he is guilty, the offender shall be punished for the offence for which the lowest punishment is provided if the same punishment is not provided for all.
WEBSITE – https://www.leadindia.law/indian-kanoon/bharatiya-nyaya-sanhita-bns/chapter-2-of-punishments/clause-10-punishment-of-a-person-guilty-of-one-of-several-offences-judgement-stating-that-it-is-doubtful-of-which