Tokyo has a raven problem. They call 'em crows but they gotta be ravens 'cause they are twice the size of any crows I saw in the US. In the city they feast off the trash, and one needs to secure the garbage in a garbage can or under mesh when you put it out for the garbage trucks to pick it up. If you put it out in a vinyl bag alone, the ravens get on it and strew it all over the street, chowing down on what they like. Nasty things. But, very smart.
When I moved into this place a tree in my back yard had a raven nest in it. With two young ravens, and their mom. Maybe the dad, too. Ten years ago so I don't recall. The house was famous among the people who maintain it as "the house with the ravens." Ravens will divebomb you, and sometimes scratch people's heads with their talons. (There are warning signs posted in parks here.)
I have some airsoft guns, and I thought about shootin' the youngsters in the nest and their parents, too, but considered: They can't go anywhere for a while. So, we just eyed each other warily for a couple of months. But when they got big and could fly, the battle commenced.
I was shootin' ravens when they were in my garden and they were divebombing me when I was in the street. At one point the youngesters came back and i found them sitting side by sde on a branch in the tree. Like most youngesters they were green, and i popped 'em both, sequentially,"gawk!," right in their chests, and they took off, never to be seen again.
Anyway, nowadays ravens very rarely come, and when they do, I grab my airsoft Python (sorry!) from my bookcase, hold it hidden down along my leg, and ease my way to the French doors that open onto the garden. The smart ones, most of them, take off at that point. If I get that far and they haven't, I'll whip up the gun and get a shot or two off as they take wing. Haven't definitely hit one in flight yet though.
But these birds are smart. At this point they mostly stay out of my yard, and in the years since we went toe-to-toe, they've stopped divebombing me in the street.