What I said is that the ratification and the signing of a nuclear ban treaty would run counter to our commitments inside NATO. I haven't worked as a lawyer for decades and it really wouldn't be a good idea for me, off the top of my head, to give a legal opinion.
On February 6th, 2018. See this statement in context.