City Can Move Homeless Men to Financial District Hotel, Judge Rules