I believe that's hardcoded; you could restrict the government building perhaps but then cities start getting very uppity when they don't get their expansion. 'bit like game players I guess ;)