Flynn writes to top mandarin over 'tighter controls' on Scottish Government