The formation of heterochromatin into a heterochromatin domain, enriched in histone H3 methylated on lysine 9 (H3K9me), by a process mediated by a Piwi-associated RNA (piRNA).
piwiRNA-directed heterochromatin formation