A person lacking wudu washes the relevant limbs without intending worship, and the ritual state is removed. Removal of hadath is present, while devotional intent is absent.
Abu Hanifa and Abu Yusuf classify the water as used because removing hadath is an independent ground. Muhammad does not classify it as used in this case, as devotional intent is missing.