I think there's multiple sides of the argument that getting everyone off the streets is the goal:
From one angle, if someone's in such a bad state that they refuse shelter, is it really better from a "help them get back on their feet" to leave them there?
From another angle, we treat very few other civic obligations as "optional." If you don't want to pay sales tax, you still have to, for instance.