In LA the cops generally don't care.
Even if they do, they'll just give the homeless guy a citation which he'll never pay. Don't get me wrong, the cops should definitely still handle crimes on the trains, as well as anyone who's trying to live there.