Stop playing politics with prison, inspector demands