I had raccoons raiding my squirrel-proof bird feeder on my back deck. They figured out how to open the metal latch on the lid and eat ALL the sunflower seeds. So I wired the lid shut. They took the feeder off the hook and dropped it on the ground about 20 feet down. They turned the feeder upside down, emptying it, and they again ate all the seed. So I secured the feeder to the hook so it could not be removed. They then shook the feeder, like a salt shaker, and emptied the feeder again. So I dosed the seed with hot sauce. In a few days they learned to like hot sauce. So I rigged a popper from a party store to the lid, the kind where you pull a string and it explodes and streamers and confetti comes out. I put it on the bottom of the feeder with a long enough lead so the raccoon would have his face fully inside the feeder when it went off. Then we all gathered in the living room with the lights off and were well rewarded when a big old coon got the fright of his life, as did his family on my deck. They all ran and the big one had streamers on him. We laughed and laughed. Thirty minutes later they were all back. They had trained me. Made sure the feeder was empty or near empty before sunset.
They are a worthy opponent. Hope the cease fire holds, but so long as the neighbor has the cafeteria open, expect to see future generations come to test your ramparts.