A judge has dismissed a court challenge that sought to overturn the current suspension of Parliament.