On the pinhole model for MIS diodes