Yes, absolutely, but Ferrari is simply a part of the Agnelli empire and the other brands are going to have to follow suit anyway. So Ferrari may just as well accept the inevitable, Italy certainly isn't going to drop out of the union on account of a couple of thousand of vehicles, besides, at some point the stigma of buying a new ICE car will be such that it may well be that nobody wants them except for collectors who just want to own the cars and not drive them (which isn't rare with Ferrari's to begin with).
The problem with an exemption from a ban is that once you go down that road there will be plenty of others that will want an exemption as well, so best to leave that door closed. Because all those little exceptions in the end do add up. Why exempt say Ferrari but not MB/AMG or Maybach or Rolls Royce, or even the (currently dormant I believe) Phaeton line.