Demanding Rangers to be accountable illegal: government