Court ruling may be of help to thousands facing de