Smart bird gets trapped in its beak.