UK bill will break international law 'in limited way', minister says