You just wrote the best defense for asset forfeiture.
Note that in most countries if you cannot prove where you got your money you will be in trouble, and it could be higher than just seizing your assets. The difference is that the money usually goes to the state, not the police department. But travel in most European countries with 50 000€ in cash without declaring it and you will have troubles