(4)In determining under this section any dispute between the Central Government and any person as to terms for the use of an invention for the purposes of Government, the High Court shall have regard to any benefit or compensation which that person or any person from whom he derives title, may have received, or may be entitled to receive, directly or indirectly in respect of the use of the invention in question for the purposes of Government.