Well, there is a boundary between the P and N junction. Capacitance mostly become important when the junction is reverse biased and is not conducting. When reversed biased, a depletion layer is form at the junction and the thickness increase with the reverse voltage.
Thanks for this part...