EVASS: realm_entity function