te of substantial performance of the contract should have been given, may, upon such terms and conditions as to costs and otherwise as he deems just, make an order that the contract has been substantially performed, and the order has the same force and effect as if a certificate of substantial performance had been issued in respect thereof under subsection (1) or (2), as the case may be.