Domain inversion for reference fields
When testing #7876 (closed) I just noticed that domain inversion is set applied for reference fields but it's value is enforced on the domain.
It will be great if the value is set directly by domain inversion