NXP-15475: use current coreSession to create the relation to keep the originating user in unrestricted code