In case of pointer arguments, intent
applies to the association status and not the target. It’s surprising. See this discussion: Meaning of the intent for pointer dummy arguments
As to the original question, you can find some discussion on this constraint here: