"Hence it is for the good of society that pilots are shielded from criminal liability when they make mistakes."
I find it hard to call this a "mistake". That implies that it was just a small handling error that no one should be blamed for and is something we have to accept.