A 900-pound man was set to be literally cut out of his house in Virginia on Monday afternoon in a huge operation to bring him to court to face drug charges.

Authorities later only confirmed that obese suspect Kenneth Hicks, 48, was taken from his Emporia home but said he never made it to US District Court in Richmond. Instead, he was diverted mid-route to VCU Medical Center, The Richmond-Times Dispatch reported.

The FBI and US Marshals Service had been asked asked to join local ambulance, fire and emergency personnel in a plan to get Hicks out of his home. The plan included cutting a hole in the side of Hicks’ house after bracing the structure and removing trees to clear a path — then mechanically lifting him out.

The monumental effort was at Hicks’ request so he could get to court, where he is expected to plead guilty in a cocaine conspiracy case, The Richmond Times-Dispatch said.

The suspect was warned that if he pleads guilty, he will be taken straight into custody and transported to a secure medical facility, the report states.

Hicks is one of seven people charged with conspiracy to distribute and possess more than a pound of cocaine, court records show.

He was allowed to make an initial court appearance in March through a video link and then asked for help to make the latest hearing in person.

“Once the medical personnel confirm that the defendant can be moved, the FBI will determine the best way to accomplish this while ensuring the safety and well-being of the defendant, as well as all government personnel,” stated a joint agreement by the government and the defense approved by the judge, according to the Times-Dispatch.

“The FBI and U.S. Marshals may determine that it is necessary to open a large hole in the wall of the structure in order to facilitate the use of a device capable of lifting the defendant’s weight.”

It stressed, “All steps will be taken to minimize damage and protect the defendant’s property.”

Assistant US Attorney Peter S. Duffey told the judge Monday afternoon that the hospital wouldn’t give a firm time on when Hicks could be released, as they were conducting toxicology tests.

US Magistrate Judge David J. Novak continued the hearing until Tuesday next week at 1:30 p.m.

Hicks is expected to arrive in an ambulance for the proceeding and appear in the loading dock of the courthouse for his own safety and dignity — since he can’t wear clothing, the judge ruled.

In the meantime, US Marshals confirmed to The Post that Hicks is in their custody. He will be held in a secure medical facility.

Additional reporting by Tamar Lapin

With Post wires