I have not heard of such a restriction; however, I would contact the City of Fremont Planning Division at (510) 494-4440; and/or, here's their address:
39550 Liberty St., Fremont, CA 94538
If you are suffering from insomnia you can also search Fremont's Municipal Code as well:
Please come back and post what the City tells you ....
Contact the city for additional information.