CNP Assurances, the French insurance group advised by investment manager AEW, has purchased the Code office in Paris from a joint venture between alternative investments firm EQT Real Estate, Carlyle's Metropolitan Real Estate and French-focused Stam Europe.