When introduced, it was a fairly transparent attempt to maintain the utility of the traditional defence in these cases. That is, “but he was a faggot! Any real man would have done the same!”.
The pseudo-psychology allowed the lawyers to make a nudge-wink appeal to the bigotry of the jury while maintaining a veneer of legality.