“Necessity has no law.”

“Every action is right which in itself, or in the maxim on which it proceeds, is such that it can coexist along with the freedom of the will of each and all in action, according to a universal law.”
“Necessity has no law.” And yet there cannot be a necessity that could make what is wrong lawful.