Immigrant commits crime over homelessness