Given some tablets and then had an unexpected reaction and set fire to his flat, he had no knowledge of this and was allowed the defence.
R v Allen
Drank homemade wine which has an unexpected affect on him, he then committed a sexual offence, but was not allowed this defence as getting drunk is a gradual process and he should've realised.