In the second scene with the gay pride float, you can see Dennis's old Range Rover in the background, still exploded in a pile of wreckage.
The extras in the audience weren't told what to expect from Rob's performance so their reactions would be genuine.
Even though Glenn Howerton doesn't appear on the episode, Dennis is present because he is, unseen, inside the gay pride float.