Which government? Links...?
Multiple goverments. There are lot of instances of people getting screwed over by the government for trying to live off grid. A few I found on Google:
Living off the grid can be Illegal | Canadian Off The Grid
Worked 40-hour-a-week jobs and lived in an average-sized home, but it was time for a change. But off the grid can be illegal. Read their story.
www.canadianoffthegrid.com
Canada Bans Off-Grid Living (And It's Happening In The U.S., Too)
It is illegal for Cheryl Smith to live in her own home because it doesn’t have electricity. Officials in Clark’s Harbour, Nova Scotia, are refusing to give Smith a certificate of occupancy to live in her new house because it has no power. She since has stopped working on the home. “Why am I...
www.offthegridnews.com
Court Rules Off-The-Grid Living Is Illegal
Living off the grid is illegal in Cape Coral, Florida, according to a court ruling Thursday. Special Magistrate Harold S. Eskin ruled that the city’s codes allow Robin Speronis to live without utility power but she is still required to hook her home to the city’s water system. Her alternative...
www.offthegridnews.com
The stupid part is they use smoke detectors as an excuse... smoke detectors don't even rely on 120v electricity! They just use it as an excuse and nothing more.
I hope I would be safe from this crap in an unorganized township though, in those places event the government tends to leave you alone, somewhat.