A federal appeals court judge on Monday compared federal immigration agents to Hollywood villains, saying only bad guys "wore masks."