The IMC rating is a UK national rating which is not a pre-requisite for form of JAA training. If you obtain a JAA CPL you can obtain an IMC rating by simply passing the IMC flight test. If you had passed the JAA IR examinations you would not be required to pass the UK IMC written examination.