To an extent.
Under the law, if you break any traffic law you are judged, in the case of dangerous driving for example, if your driving falls significantly below the standard of a typical cautious driver, or just below that standard for careless driving.
It would be the same as an electrician, you would be judged on whether the work you did met the standard expected by a competent electrician.
How do you think you would compare in the eyes of a jury or judge?
No updated training on regulations for approx 15 year (with 4-5 "new" versions in that time).
Not complying with the law on part P - again introduced a long time ago.
Performing inspection and issuing satisfactory reports when ~15 years out of date with the latest regulations.
Potentially breaches of the building regulations (you can't say you're compliant as you said you don't know about them).
Etc.
I doubt a court would see this as a professional electrician doing their best.
Yes, if you were up to date, had complied with all the parts, but had made a simple or perhaps technical challenging error, then a court may accept you did make every reasonable effort.