I don't know about the Yamaha CG172SF, but in the price range you mention, the Yamaha CG182
SF might be the best choice https://www.guitar.co.uk/yamaha-cg182sf-flamenco-guitar
I had a CG182SF for over 2 years, very well-built guitar, good sound and very comfortable to play.
The reason I sold it is I gradually became attracted to some specimens in the Yamaha GC line (and the fact that I don't really play a lot of flamenco (even though you can very well play classical repertoir with it). Anyway I ended up getting a GC42S, which is now my main guitar, and will remain so for the foreseeable future, probably for the rest of my life if nothing bad happens to it, so I sold the 182SF as part of the funding for the big move.
Bottom line is that in the price range you are talking about, the quality-price ratio of the Yamahas tends to be very nearly unbeatable, in my modest experience.
In any case, whatever guitar you decide to get, it is important that you try it beforehand, more than once, so you can compare.