sir... my uncle gave an affidavit in a case under sec 341..342 in which he said when I visited police station police only took statements and dindnt applied sec 107 and didn't do anything against persons who beat him ... so he had come to court to lodge case... the situation is police did process of 107 on that day only after he returned home... but he was unaware... court made case under ipc 199 against my uncle...
it wasn't intentional as police didn't gave any information to him that have done process under sec 107 and he was getting continuous threats from those persons... interestingly those persons did settlement with my uncle after one month and that nottarised settlement was submitted in court ... that was the only reason that the case under crpc 341..342..was closed... FR was put by police after fir against those persons
Perhaps, the matter could be settled by explaining to the court that affidavit was in good faith and tendering apology for the lapse. Even other wise it is unlikely that your uncle could be held guility in the absence of mens rea (guilty mind).
An experience local advocate would be able to sort out the matter.