He jumped just inside the area and landed just out, so not exactly a giant leap (pun intended) to say that the ball hit him on the line (which is a penalty).
You would have thought these decisions were 5 yards outside the box rather than being close either way, the way the losers go on about it, but what else is new? They create their own football mythology based around Juventus. It's gives them relief.