The mayor released the statement shortly before a federal judge temporarily blocked the Trump administration's plan.