It happened in the box. All fouls in the box are penalties, regardless of off-ball or not. There can't be a free kick... They can't award the ball to Napoli. Only option is penalty.
Just give a red card and keep on playing. I'm pretty sure nobody has ever given penalty like that . It's like the headbutt was too hard for giving only the red card so he had to give a penalty as well