Yes, it
is the explanation. I was given it once translating from Greek ( which has the same rule as in English ) into French. My teacher seemed to think I was incredibly ignorant...
But apparently there is more or less tolerance towards these two forms. See here :
Accord de l'adjectif possessif