Juan Carlos left Spain in 2020 after he was linked to an inquiry into alleged corruption.