I’ve had them on pizzas both here and in Italy when I was younger before I realised that’s what messed me up, and from a jar when I suspected that they were the problem.
So in short I dunno. As I say I’ve had green olives loads and never had any problems.