You mean pretending to play? It is a baritone but he's not playing it live. Not to take anything away from his playing talents which were phenomenal, but he's playing (and lip synching) along to a recording there.
It’s a canned track and he’s lip syncing but I think he may have actually played the solo. It’s conceivable they would have mic’d him up and mixed in his live guitar. For one, thing he’s plugged in. Normally they wouldn’t bother with a cord if they didn’t need to. For another, he works the volume control like he’s really playing. He turns down once the solo’s over which is what you’d do to keep the pickup hum out of the mix. Of course he might just be doing that out of habit. Last thing is his tone and phrasing seem a smidge different from the studio recording, although I’d need to listen side by side to confirm. Whatever the case, I love that song.