The right to be heard has not been observed if a decision to refuse an application is based essentially on documents which, though supplied by the applicant in support of his case, are used against him to produce an effect on which he has not had an opportunity to make observations (see T 18/81, OJ 1985, 166 and T 188/95).