The Florida developer in line to buy Atlantic City’s former Revel casino hotel is threatening to walk away from the deal if a court ruling goes against him.

Glenn Straub is buying the casino for $95.4 million, but tenants at the site are appealing the deal, claiming they stand to lose millions if it goes through. A federal judge was expected to rule on that request Wednesday, following a daylong hearing on the matter Tuesday.