The markets have taught Theresa May a hard lesson on sovereignty