NEW YORK—A federal judge on Tuesday said Citigroup is not entitled to recoup half a billion dollars of its own money that it mistakenly wired lenders of Revlon, in what he called “a banking error of perhaps unprecedented nature and magnitude.” U.S. District Judge Jesse Furman in Manhattan said the Aug. 11, 2020, transfers were “final and complete transactions, not subject to revocation.” Citigroup plans to appeal. “We believe we are entitled to the funds and will continue to pursue a complete recovery of them,” a spokeswoman said. The blunder was the latest misstep involving internal controls at Citigroup, which federal regulators fined $400 million in October over longstanding deficiencies. Acting as Revlon’s loan agent, Citigroup had wired $893 million to the cosmetic company’s lenders, appearing to pay off a loan not due until 2023, when it intended to send only a $7.8 million interest payment. The New York-based bank …