Or maybe the 'Hongkie police' you see committing brutality on the protesters were disguised mainland 公安 or 武警.
Refer back to that day 1-2 months ago when police/military trucks were spotted driving into Hong Kong from Shenzhen. Carrie Lam said it was just a routine personnel swap. But those vehicles never went back to mainland China.