A judge rejected the National Rifle Association’s first bid to be in the room while the state Attorney General’s office questions ex-NRA president Oliver North about how the non-profit organization spent its money.

The NRA filed the emergency petition Friday asking a judge to issue a temporary restraining order to stop the AG’s deposition of North from going forward next Tuesday.

“I’m not granting the TRO based on these papers. So maybe this is the end,” Manhattan Supreme Court Justice Melissa Crane said before setting a hearing for more oral arguments Monday.

NRA lawyers argued that there was a risk that North — who still remains on the group’s board — could divulge privileged information at the deposition since North’s lawyer, they say, has already improperly redacted documents that he will turn over to the AG’s office.

“We do not in any way, shape or form intend to interfere,” said Svetlana Eisenberg a lawyer who represents the gun group. “We are going to sit there quietly and listen to the questions.”

But lawyers for the AG’s office said the NRA attorneys shouldn’t be allowed to sit in during a confidential probe into the organization’s possible misconduct.

“The question is whether the NRA can come in and act as a monitor in an investigation into their own conduct and the fact is they can’t,” said Monica Connell a lawyer for the AG’s office.

Connell said it would be “particularly outrageous,” given that there are questions about the money the NRA paid to the firm repping the gun group, Brewer Attorneys, and Counselors, who are asking to be present for North’s testimony.

“The Brewer firm is almost at the center of many of the allegations,” Connell said adding that the Brewer firm was paid $40 million in just 14 months by the NRA.

Crane sided with the AG’s office saying, “The risk of disclosure here is somewhat speculative. I don’t see it as a danger while there is a real risk of compromising the investigation.”

The AG’s investigation is looking into the NRA’s potential “financial impropriety and misuse and waste of corporate assets,” said another AG lawyer Emily Stern. Court papers said they are also looking into the NRA’s potential “unauthorized political activity and potentially false or misleading disclosures in regulatory filings.”

The Department of Financial Services is also investigating the NRA for earning $14 million in alleged illegal gun insurance kick backs.

The group filed suit in June against second-in-command Chris Cox for allegedly unsuccessfully trying to oust CEO and Executive Vice President Wayne LaPierre.