Imperfections in type I and type II diamonds