Even as Hillary Clinton gets closer to clinching the Democratic nomination, her email scandal remains alive and well. (AP)

Despite being dogged by Bernie Sanders late into the primary season, Hillary Clinton is by all accounts virtually guaranteed her party’s nomination. But even as she gets closer to that goal, she still can’t shake the email scandal that has dogged her since March 2015.

If anything, her legal situation is more perilous than ever.

Item 1: Earlier this week, the Department of Justice apparently admitted that the investigation into the email scandal was a law enforcement proceeding, not — as Clinton has maintained — a review of classification procedures.

Fox News legal analyst Andrew Napolitano wrote this week that Justice moved to dismiss a Freedom of Information Act lawsuit filed by Vice News reporter Jason Leopold that sought, among other things, communications between the DOJ and Clinton. DOJ said that, in Napolitano’s words, complying with the request would “jeopardize the investigation by exposing parts of it prematurely.” In the same brief, he said, the DOJ referred to the investigation of Mrs. Clinton as a “law enforcement proceeding.”

Item 2: On Wednesday, U.S. District Judge Emmet Sullivan granted a request by Judicial Watch (which has been aggressively pursuing this scandal) to depose Clinton’s former top State Department aides — including Cheryl Mills and Huma Abedin — about Clinton’s email set up and how the department handled freedom of information requests.

Sullivan also left the door open for Clinton to be deposed, “based on information learned during discovery.’’

Judicial Watch president Tom Fitton called it “a very great victory for transparency and, despite the best efforts of the Obama administration and the Clinton camp, it looks like we might finally get some answers under oath about the Clintons’ illicit email system.”

Item 3: Imprisoned Romanian hacker who went by the handle “Guccifer” now claims that he had access to Clinton’s private email server, and that, while looking around, noticed that others had gained unauthorized access as well. “As far as I remember, yes, there were … up to 10, like, IPs from other parts of the world,” he told Fox News.

The Clinton campaign dismissed the “claims made by this criminal” as completely unsubstantiated.

Clinton has repeatedly dismissed the entire scandal, saying at one point that: “I am not concerned about it. I am not worried about it, and no Democrat or American should be either.”

Then again, Clinton has been saying that for more than a year now.