Help with contextual filter and entity reference fields
Apparently I had the following selected under the "more" tab in the contextual filter:

Exclude If selected, the numbers entered for the filter will be excluded rather than limiting the view.

Which lead to all kinds of odd behaviour...

If it is of use to anyone else, the correct answer appears to be:


Content using field_related_pages with the relationship required.
The contextual filter set to Content: ID with  with the ```default value set to Content ID from URL`` and
Relationship dropdown set to the field_related_pages