In recent weeks, the UK has witnessed unprecedented civil unrest and riots, leading to widespread concern about the government's response and its implications for justice and civil liberties.