@xgranade@wandering.shop That will likely break state resolution in rooms that that server participates in in unpredictable ways, and/or cause a lot of backfill jank.
One possible solution is to configure your reverse proxy to reject requests to the server-to-server /invite endpoint, if they originate from the offending server's IP - that will prevent that server from issuing any invites to users on your server at all (various homeservers block invites wholesale already and it hasn't broken anything besides, well, invites)