How to get a legal opinion for property purchase to avoid risks?