UN official says refugee bill inconsistent with international law