The family - four children under the age of 11 and four adults - first arrived in Bangkok in May.
When they tried to leave in October for Spain, they didn't have the right visas.
They couldn't legally re-enter Thailand as they'd overstayed their tourist visas and had to pay a fine. But they said they could not return to Zimbabwe because they faced persecution.