He had a right to be there. He was staying with relatives who live in that gated community.
Thanks for the clarification/correction.