of course.
And the children who were taken to Germany as part of the Bensborn program and told they were Germans, shouldn't they also have been told they were Russians, taken by the Nazis?
By the way, it was quite legal for Gestapo workers to confiscate/take children. This is about the question of whether it is according to the law, so it is always true.
Spoiler: not always, sometimes when the law changes, the one who implements the law ends up on the gallows.