"if something is Wieś in TERYT it is a Wieś/Village, if something is Przysiółek/Hamlet then it is it."

well, it is not a really correct mapping

"place=" (like "highway"=) should describe reality, not legal situation.

Maybe we should have new tag for TERYT classification? hamlet with 2 people living there is not town=* even if it would receive city rights