I think that you you have got to obtain a license file from the PAK code. If that code is for the CRS version 4, I think that you won't have problems.
First of all, check the documentation to know if you have to do any special process to upgrade from version 3.1(2) to version 4.0(5a).
Hope this helps,
Juan Luis