Licence handing over