If you have an IR already, the CPL course is a 15hr course, and all the time must be in the aircraft.
If you only have a PPL, the CPL is a 25hr course, but 5hrs can be done in a FNPT1 or II simulator.
The dispensation is due to the fact that you are assumed not to need any instrument training time.