It's the parent club with the expectation, which is where the issue lies.
I suspect the club got an absolute bollocking off Brighton for the Ayari situation and how they handled him. Not that it was particularly anyone's fault, Ayari just wasn't ready at the time.
But this is where the loan...