All airborne Mode C encodings are always referenced to 1013. SSR altitude information must be referenced to the same datum to ensure correct TCAS operation.
Information can be screen displayed to controllers as referenced to QNH but this is only selectable on the ground for display purposes.
JD