I think you've made a good argument in favour of "flexible morality"
- they used to find shelter in a mclaren showroom..
Seriously though, on TV we have seen homeless people beg police to lock them up, which they cannot for no reason so then they go and break the law just so they can have food/shelter/safety...
Is it not morally right to try and help people who can be in physical danger? If they truly are going to freeze to death/get beaten to death or starve to death, do you not see a need to protect them for this? And if there's no place that can or will help them, do you not think that these people stealing either to eat or to get caught so they may get help as a less bad for of stealing?
These are things that they need to survive.
I will steal in the future if it means I can keep any member of my family from starving, and I don't care what anybody thinks about that cause maybe just maybe they don't love their family, maybe they hate them as I wouldn't even want someone I hate to starve, hence why I wouldn't look down on someone who did steal for such a reason...