Other judges see some bondsmen as trampling the rights of defendants. One judge in Lafayette, La., Jules Edwards III, held in contempt two bondsmen who were brothers for intercepting a defendant on his way to court and sending him, instead, to jail.

The judge said the commercial bail industry had put its financial interests above justice and public safety. “If he’s not in compliance with the contract, sue him. How do you get to snatch his body and hold him hostage?” Judge Edwards said in a phone interview.

He added that defendants do not have to go with their bondsmen unless there is a warrant out for their arrest, but many of them do not know that. “What they’re doing is intimidating and coercing and lying,” he said. The brothers declined to comment.

In both Mr. Egana’s case and this one, the bondsmen would not have been on the hook for the defendants’ failure to appear, because they diverted the defendants from court dates for unrelated cases, not the ones for which they had bailed them out.

The bond agency, Blair’s Bail Bonds, stopped Mr. Egana, who had prior felony convictions, from going to court on charges of fleeing an officer, but had bailed him out in June 2016 after he was arrested on charges of possession of marijuana, a firearm and stolen property.

Had Mr. Egana been wealthier, he might have been able to post his full bail of $26,000, then gotten it back when he returned for court. But like most defendants, Mr. Egana had to turn to a commercial bail bond agent that charges a nonrefundable fee for the service of guaranteeing the bond.

Not only could Mr. Egana not afford the full bail, he could not afford the fee, $3,275. He arranged to pay it in installments. After his release, he said, Blair’s informed him that on top of the premium, he would have to pay $10 a day for an ankle monitor, though the judge had not ordered one. Guilty or innocent, Mr. Egana would never see any of that money again. Blair’s has denied any wrongdoing in the matter.