What do officers do to illegal immigrants in the present?

Take them into custody - where they are presented for a hearing. After that law enforcemtn has no further responsibility. Law enforcement agencies are part of the Executive Branch which does not become involved in the Judicial Branches operations or actions.