Trump criticizes agreement as foolish