(7)No direction under sub-section (6) shall be issued unless an opportunity of being heard is given to the assessee and the Assessing Officer on such directions which are prejudicial to the interest of the assessee or the interests of the revenue, as the case may be.