Williams will have to change the design of the exhaust on its new FW35 after the FIA ruled the original to be illegal.