Er, hmm, oh yes they are!
They merge into one another: agreement on a standard, regulations to impose the standard, directives to the agreement on the standard, ad infinitum!
How do you see them differently CC?
VERY roughly speaking, standards are voluntary, laws etc are mandatory.
You can choose whether or not to buy an engineer's square conforming to BS939. If you're equipping a new manufacturing facility for Rolls Royce, you probably would. If you just want to know whether you've ground the edges of your chisel about square in your home workshop, an Amazon cheapy not conforming to any standard would do. There's no law telling which you must use in any given circumstance.
Sometimes it's clearer - you can supply electrical equipment with non-standard plugs if you wish, but nobody would buy it because the plugs wouldn't fit in standard sockets. If they did buy it, they'd very quickly be asking for their money back. In that case, standards help everybody to produce kit that works with components supplied by others.
Regulations are mandatory - you must comply, or face legal sanction. Steam boilers, for example - the regulations state that you must hold valid insurance to steam a boiler. It's the responsibility of the insurance company (not government or legal agencies) to ensure that your boiler meets the standards they specify; if you steam your boiler without satisfying their requirements, your insurance is invalid, and you can be prosecuted for using an uninsured boiler. The law does not specify which standards you must meet, just that you must hold valid insurance.
That's your lot on this subject, Jacob. I have other things to do this evening and for the next few days, so if you want an argument or a long tarradiddle about it, as you so often do, kindly find someone else to have it with. Thank you.