(3)The Central Government shall pay to the applicant, or, as the case may be, the patentee and other persons appearing on the register as having an interest in the patent such compensation as may be agreed upon between the Central Government and the applicant, or the patentee and other persons; or, as may, in default of agreement, be determined by the High Court on a reference under section 103 to be just having regard to the expenditure incurred in connection with the invention and, in the case of a patent, the term thereof, the period during which and the manner in which it has already been worked (including the profits made during such period by the patentee or by his licensee whether exclusive or otherwise) and other relevant factors.