A BROOKLYN judge has refused to toss​ ​out ​pharma felon Martin Shkreli’s conviction on conspiracy and securities fraud charges, according to court documents filed Monday.

Shkreli filed a motion for a judgment of acquittal after a jury convicted him of three of eight charges — two counts of securities fraud and one count of conspiracy to commit securities fraud — last August.

Judge Kiyo Matsumoto ruled that “Pharma Bro” Martin Shkreli was responsible for nearly $10.5 million in losses in his securities fraud case.

In her 96-page opinion, Judge Matsumoto said the evidence presented at trial was “more than sufficient enough” to convict Shkreli of defrauding investors in his failed hedge funds MSMB Capital Management and MSMB Healthcare.

The amount set on Monday by Justice Matsumoto could result in a harsher punishment for Shkreli at his March 9 sentencing.

The judge rejected arguments by lawyers for the former pharmaceutical CEO that investors in his failed hedge funds didn’t suffer actual losses because he paid them back with drug company stock.

Judge Matsumoto found Shkreli should be penalised for the losses because he made risky transactions with investors’ millions without their permission.

“The court finds, based on the trial evidence, that Mr. Shkreli conspired with Mr. Greebel and others to manipulate the price and trading volume of Retrophin stock, and thereby attempted to cause the share-buying public to overpay for the stock,” Judge Matsumoto wrote.

The judge also determined that a loss amount of more than $10 million would factor into Shkreli’s sentencing.

He was convicted at a trial last year and has been cooling his heels behind bars since September after violating the terms of his bail​ ​by encouraging social media followers to snatch a lock of Hillary Clinton’s hair at a book signing. He faces up to 20 years in prison when he’s sentenced on March 9.

The 34-year-old Shkreli earned the nickname “Pharma Bro” for boosting the price of a lifesaving drug and for trolling his critics on social media.