There's a big difference between sleeping in a place overnight and just standing around "congregating" there, from a fire safety standpoint.
This is not a one-off issue. The place has been repeatedly failing fire inspections. If the guy wants to use it as a homeless shelter then he needs to fix those issues.