A lawyer for prospective refugee claimants says a federal judge was correct in finding an agreement between Ottawa and Washington results in people being imprisoned by U.S. authorities.