A California federal judge has blocked the Trump administration from deporting people detained in his district under the Alien Enemies Act, granting certification to a class of Venezuelan detainees and ruling that they are likely to succeed in claiming that due process is required before their removal.