In certain cases the render selected mode is note usable.
For example, you have a moving object in the scene (a cube of 10x10x10)
But your client want to change this object to another cube (5x5x5).
You can't just render this selected object, because in comp the first object will be visible behind.
I have done a workaround. A cone linked to the camera and with a lookat constraint to the object. The cone have a pure black diffuse, and a ray switch transparent for GI, reflection, refraction
That work but, it's a bit complicated