How clever!
In its larval stages, the Asian swallowtail—also known as the Chinese or Japanese yellow swallowtail—mimics the appearance of bird droppings to prevent predators from gobbling it up.
Whatever it takes to survive, I suppose..via National Geographic