It would indeed be really interesting to understand how the court was able to rationalize that; INA is pretty explicit. In any case, I doubt typical "illegal immigration" can be meaningfully described as "fleeing persecution", and I say that with an abundance of sympathy for those garden variety illegal immigrants.