Convictions came under draconian national security law imposed on Hong Kong in 2020 following huge protests.