The medical relates to the licence not the rating.
A PPL can hold a IR
The PPL only requires a Class 2 medical, you may require an audiogram.
You can even instruct and examine the IR on a PPL with a Class 2.
You cannot obtain or instruct for a CPL with a Class2.