No, bribing foreign governments is illegal, and also immoral.
https://en.m.wikipedia.org/wiki/Foreign_Corrupt_Practices_Ac...
https://en.m.wikipedia.org/wiki/Foreign_Corrupt_Practices_Ac...
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?
I wonder how Norway would look if they were constantly under the same threat.