The prime minister has said it would ‘depend on the detail’ and the wording of the Bill