Yes, that possibility came up using one of the identifier apps but I didn’t think the bark matched. Having looked again it appears the bark changes a lot as the tree ages, and a few Googled photos show a similar bark.
Similarly, the lack of thorns on this tree put me off track, but I have now learned that older trees may not have spines.
So I think you have it! Thanks.