I looked it up. In Criminal cases it is called a directed verdict and not a Judgment notwithstanding the verdict. The judge can order an aquittal following a guilty verdict if he believes that the evidence did not justify the finding of guilt. The prosecution can appeal. A judge may not issue a guilty order following an aquittal or a hung jury, but he may issue a directed verdict of not-guilty.
Let us hope the judge sees through this travesty and does the right thing. But I'm not holding my breath.