Not sure you can take it off.
The other question you have to ask is if the eviction is valid, and you can get it taken off, is this considered mortgage fraud.
Mortgage fraud is a very serious crime and they are putting people in prison for this now.
You have to sign that the credit reports and other information you provide to the lender is accurate. Signing that it is accurate when it isn't could be considered fraud. My advice is don't do it and don't risk it.