richlv
Sorry, what do you mean by "if I put the condition correctly"?
The restriction relation has been mapped since 2009 and last motified in 2015 (except further relation member splits).
Anything that seems wrong with it, or some other relation?

This might also be easier to discuss in the Latvian OSM community chat at https://osmlatvija.zulipchat.com .