A federal court judge was expected to hear the case of a man facing deportation after delivering a pizza to a New York Army base.