the mind > attention and judgement > testing > attestation, witness, evidence > qualification > [adverb] > despite everything (3)
in spite of a person's head (formerly also †spite of a person's head): in spite of, or in defiance of, a person. Cf. earlier maugre a person's head…
Frequently in French phrases, followed by a pronoun. malgré tout: despite everything.