Royal Dutch Shell is headquartered in the Netherlands and registered in the UK, and both countries are part of the OECD Anti-Bribery Convention that criminalizes the bribery of foreign public officials.
Even if it were not, I struggle to understand the purpose of your comment.
Do you mean to say that it's morally justified for Shell to bribe Nigerian officials? Because it goes unpunished by governments? Or because the citizenry of Nigeria that do not benefit from such bribery are unable to punish such transgressions? Or is it just a nitpicky "gotcha" that adds nothing and isn't even correct?