An accused cannot be punished for committing an offence against 'Y' when he is charged with having committed the offence against 'X' and the entire defence of the accused was with reference to charge of having committed offence against 'X