The firm gets a new licence to work in the capital after a court says it has addressed safety issues.