Phillip LeRoy

A decorated New York City cop failed Wednesday to talk his way out of jail while he fights federal charges that he took part in a $200,000 drug deal in South Florida.

“Utterly ridiculous,” was what a federal judge called the story offered by Phillip LeRoy on how he wound up in the middle of a cocaine sting — involving more than 22 pounds of the drug — in Sunrise last month. The judge ordered LeRoy locked up without bond until trial.

LeRoy, of Queens, has more than 250 arrests to his credit and an exemplary 10-year record with the NYPD. Named “Cop of the Year” at his precinct two years ago, he has been suspended from his job and jailed since his Dec. 2 arrest.

LeRoy was busted with his friend, Brian Espinal, 27, and Richard Quintanilla, 35, of Ecuador via New York, in a “reverse sting” in Sunrise. Espinal arranged to buy more than 22 pounds of cocaine from an undercover officer, and LeRoy and Quintanilla accompanied him, investigators said.