 And the court also ruled in favor of cities attempting to enforce bans on homeless people sleeping outdoors, overturning a San Francisco appeals court decision that found outdoor sleeping bans amount to cruel and unusual punishment. The 6-3 decision along ideological lines comes as homelessness is rising in the United States, and as many cities, particularly on the West Coast, struggle to provide enough shelter space.