Whenever federal-owned or state-owned property is included in one or more zoning districts, it shall be subject to the provisions of this chapter only insofar as permitted by the constitution and laws of the United States of America and the state.