In 2021, judge warned of gay bar attacker’s shootout plans