It's the try before you buy scenario.
He knows he's not wanted where he is .. but his club is giving him a chance to continue a career at a club, rather than being released into the wilderness.
We look at his potential, he looks at whether he likes us, his club looks at maybe making a bit of money.
If it all fits, everyone's a winner.