Why can foreign banks issue Hong Kong dollars?

I refer to Standard Chartered Bank, and now Hong Kong has already belonged to China, but why do Hong Kong dollars still allow foreign banks to issue it?