ssj,
It was probably foam cut for someone with a Lee Enfield who carried out competitions, and well cut to, does the job.
I have handled many L42's in transit, and have never seen a case like that, so hope that helps you.