He worked as a U.S. immigration agent for 18 years — as an undocumented immigrant