Why?
In the UK we of course have no president; all government actions can be subjected to judicial review, whichever minister was in charge. Judicial review is a civil procedure, not a criminal one. All the court can do is order the government to reverse the unlawful decision, and make good its consequences.