Court ruling reinforces homelessness definitions