Yeah this has all the hallmarks of the kind of pseudo-intellectualism pushed by racists on Twitter. The kid knew what they were doing and were pushing it to see the reaction. You don’t find a racist book from 1904 on your own without some other input.