(5)Where a permit has been renewed under this section after the expiry of the period thereof, such renewal shall have effect from the date of such expiry irrespective of whether or not a temporary permit has been granted under clause (d) of section 87, and where a temporary permit has been granted, the fee paid in respect of such temporary permit shall be refunded.