TheIronRuler said:
They will just fill their Jails with the homeless, where they will be provided with warm beds, food and free healthcare.
You write it as irony, but this may just be the point of the law.
Many homeless people struggle with multiple problems and refuse voluntary help. A law like that can be used as a handle to attempt and forcibly help such homeless people. For instance mental disorders could be diagnosed by force and then treated, while out on the streets, you'd never get them to visit a doctor, let alone a psychiatrist a lot of times.
The Netherlands has a similar thing called 'bemoeizorg' which would translate as something like 'harassing care' that's really a big succes. Basically aid workers seek out problematic people who avoid things like social services and try to move them to accept care.
Similarly we have a law that allows to put in prison systematic offenders of small crimes for two years where they can be made to undergo treatment such as detoxing from drugs or treating mental illness. Again, a smashing succes.
But fairly draconic, because someone could receive two years in prison for simple shoplifting. Then again, people like that are caught shoplifting or stealing almost weekly.
Because before that, for many cities, a group of only a few hundred of these systematic offenders, often homeless, drug addicts, or both, caused the vast majority of crime. For instance the capital Amsterdam (population nearly 800.000) had 600 of those systematic offenders in 2001, and they were responsible for over two-thirds of all crime in the city. In turn 90% of those systematic offenders were drug addicts.
But since those two measures are in place, that number has dropped sharply, and crime figures have been decreasing each year since.
So returning to Hungary, I wouldn't write off this measure as being bad just yet. With sensible enforcement and sufficiently investments in services in prisons, this could actually be a good thing.
A lot will depend on how they shape the enforcement of this law, and what sort of rehabilitation measures they take in prison. If they just put them in a cell untill they're released, it's pointless.