I think he's been bought as a squad player, not as a first team player.
It's the same with Milan buying Dhorasoo (not sure of spelling), he'll add more depth to the squad and he was free.
Then again, Juve often brings the best out of players (not always, see Legro and Appiah) so who knows? He could become a first team regular in the future.