(1) Notwithstanding any other provision of law and except as otherwise provided in subsection (2) of this section, on-premise advertising devices shall be allowed to extend over existing rights-of-way and future rights-of-way as described in section 43-1-210 (3) of any state highway if all of the following requirements are met:
(a) The on-premise advertising device is attached to and extended from a building and only advertises activities or services offered in that building;
(b) The building and attached on-premise advertising device is adjacent to the state highway within a city, city and county, or incorporated town having authority over the state highway pursuant to section 43-2-135;
(c) The on-premise advertising device does not restrict pedestrian traffic and is not a safety hazard to the motoring public; and
(d) Before erecting the on-premise advertising device, the owner of the on-premise advertising device obtains written permission from the city, city and county, or incorporated town.
(2) This section shall not apply if the department determines that compliance with this section will cause denial of federal moneys that would otherwise be available or would otherwise be inconsistent with federal law, but only to the extent necessary to prevent denial of the moneys or to eliminate the inconsistency with federal law. The department shall pursue every lawful remedy available to obtain permission or authority, if required by federal law, to apply this section in any such case.