The judge put the pressure on 6ix9ine — real name Daniel Hernandez — because the rapper has now missed two appearances in the cop-assault case, where he’s accused of squeezing an arresting officer’s hand too hard while being cuffed for an outstanding warrant at JFK Airport on July 11.

He skipped a court date over the summer after he was kidnapped and robbed, lawyers said.

But 6ix9ine’s attorneys Wednesday claimed he was too busy jet-setting to make it back to the Big Apple to face the music.

“The defendant was in Dubai, was in the Netherlands, and is trying to come back today,” one of the rapper’s lawyers said, blaming flight delays.

“All that [means] is he should have booked a flight a day early,” a prosecutor shot back.