It’s liability not certification. What you get with a professional engineer is someone who is liable for their work.
When it comes to the issues of safety the proper outcome should be organized by a processes, verification and other things that would not let that piece of code get into production. Putting this kind of load on software developer I think is utterly demented idea.