Court hits back against politically motivated firings of public defenders