(4) If a by-law is passed under section 34 by the council of a municipality or a planning board in a planning area in which an official plan is in effect and, within the time limited for appeal no appeal is taken or an appeal is taken and the appeal is withdrawn or dismissed or the by-law is amended by the Tribunal or as directed by the Tribunal, the by-law shall be conclusively deemed to be in conformity with the official plan, except, if the by-law is passed in the circumstances mentioned in subsection (2), the by-law shall be conclusively deemed to be in conformity with the official plan on and after the day the by-law was passed, if the amendment to the official plan comes into effect. 1994, c. 23, s. 16 (2); 1996, c. 4, s. 14 (2).