The royal commission of inquiry into the death of Teoh Beng Hock has been given permission to extend its probe until June 25.