Tottenham have thwarted Barcelona as well as former boss Jose Mourinho after announcing an important new deal.