Misleading headline by the BBC, as is tradition. He wasn't given anything, it's simply the status quo - whether we like it our not. It's also not a US thing but an international convention: https://www.justsecurity.org/68801/head-of-state-immunity-is...
They are just saying they aren't making a unique exception for this one case that wouldn't normally exist otherwise.