the attorneys carried their petition down the hall to the chambers of an accommodating judge , one they had spoken to hours earlier , and.in an emergency and perfectly proper closed hearing , the judge granted the restraining order .