“The wrong act was decreed, so it was lawful” confuses which concepts?

Correcting Doctrinal Statements: Fallacies and Their Resolution