Illegal immigrants have only limited grounds to appeal deportation orders to the federal courts, the Supreme Court ruled Monday.