A man suffering from a particularly hellish kind of headache is staring down the barrel of his third prison sentence.