Pirates on the brink of missing Champions League