A speech about Brexit was set to say that the assembly was not questioned after the 1997 referendum.