A new court ruling may set a precedent nationwide that points at city ordinances trying to criminalize homelessness.