IMHO you've found the fault in her ruling.
Even if one believed aliens had full Constitutional rights (which I don't btw- but that is beside the point), it would still be reasonable to assume, prima facie, that there is a high risk of flight by an alien.