Government loses bid to evict caravan park resident due to lack of available public housing