Unless you have the maintenance records (the books) you have no idea of the time/cycle/stress history of the major components of the aircraft that includes most of the engine e.g turbine disks, spars, landing gear etc. That in my experience means they are scrap metal. I know of no loophole that gets you out of that situation...... and i’m not blaming CASA either.
You would need to have a whole container load of brand new spares complete with release notes and the current maintenance manuals to maybe make it possible to legally get one into flying condition, but maybe that is the plan.