Yes, but that's not a ghost brick. PlantBrick is called ON a ghost brick, not to CREATE a ghost brick.
My guess would be that it's testing to see if it can plant a brick (::onAdd), but then finding that it can't (::onRemove and messageClient [for the plant error icon]).