Julius Wagner-Jauregg specifically treated neurosyphilis, an infectious disease, not just any ”psychiatric” disorder. That makes it perhaps less surprising that activating the immune system should have an effect. Today neurosyphilis is treated with antibiotics.