The Iranian tanker Grace 1 will likely be allowed to leave Gibraltar following a court decision which is due on Thursday, a source told Reuters.