Then it's equally fair on part of your employer, which is interviewing for a software dev position, to consider as relevant experience only those where you actually did software development...
It is a little misleading in this context, even 25 years of experience doing IT often won't clearly mean you have the right skill set to be SDE2 (and vice versa).