I think I would have declined to give them *any* phone passwords, either the real one, or the one that wipes my phone. Yes, they might still seize the phone, but at least I'd avoid a potential obstruction charge.