238. When offence proved included in offence charged.

Illustrations
(a) A is charged, under section 407 of the Ranbir Penal Code, with criminal breach of trust in respect of property entrusted to him as a carrier. It appears that he did commit criminal breach of trust under section 406 in respect of the property but that it was not entrusted to him as a carrier. He may be convicted of criminal breach of trust under section 406.
(b) A is charged, under section 325 of the Ranbir Penal Code, with causing grievous hurt. He proves that he acted on grave and sudden provocation. He may be convicted under section 335 of that Code.