Lie on LinkedIn, get a foot in the door and explain in the interview
If you are a truly exceptional dev in your previous field and can convince me of that, along with an up-front and transparent explanation of why you lied to me as our first interaction, it is possible to overcome this. However, that is a pretty small pool of people.
Though, it definitely can work at some companies.
Then next time, it's no longer a lie and they can (in theory) get by on merit