You must target a creature to cast Trostani's Judgment. If that creature is an illegal target when Trostani's Judgment tries to resolve, it won't resolve and none of its effects will happen. You won't populate.