At a distance it appears this lamppost has gained a parasite.
In fact it’s a bike lock. The bike it was once safeguarding has long since been stolen.
Maybe the maintenance crew responsible for the upkeep of the pole did not have a saw. Or maybe they did and didn’t feel like using it. Either way, they “solved” the problem with a paintbrush.