From my understanding, if the shape of the canal space makes it difficult to fit a prefab post in without removing excessive dentin, such as with a ribbon or C-shaped canal. The other times would be if there is a concern with rotation. Cast post-cores have better anti-rotation properties.