CIC will refund the fees in your case. Copying here the excerpt from operational manual. Let seniors shed more light on this.
If the application does not meet all the criteria of applicable Ministerial Instructions, then the CIO will make a final negative determination of eligibility for...