The president cannot eliminate fundamental rights by executive order, nor can he order federal agencies to violate the law,” California’s attorney general said in a statement.