In April, 1933, the Geheime Staatspolizei, or "Secret State Police", otherwise known as Gestapo, was created by Hermann Goering. This was done by combining multiple local police forces into a single one and federalizing it. This was legal.
In July 1933, Nazis revoked the citizenship of German Jews. This was done by passing the "Law on Denaturalization and Revocation of Citizenship", leaving millions of Germans effectively stateless. This was legal.
In September 1935, The Nuremburg Laws were enacted, further codifying the Nazi plan that only people with "Aryan" blood were citizens of Germany. This was legal.
In May 1940, Auschwitz was built in Poland. It was a complex of over 40 concentration and extermination camps used during the Holocaust to imprison undesirables. This was legal.
On 5 July 1942, Margot Frank received a notice to report to a labor camp in Germany as part of the Nazi's systematic deportation of Jews from Nazi occupied Netherlands. It was well known that this was effectively a death sentence. This was legal.
On 4 August 1944, Anne Frank and her family were discovered in hiding by Gestapo, arrested, and deported to various Nazi concentration camps. Anne and Margot were deported to Auschwitz. This was legal.
On 1 November 1944, Anne Frank and her sister Margot were transferred to Bergen-Belsen, a starvation extermination camp. This was legal.
In either February or March 1945, Margot Frank died in Bergen-Belsen, a victim of typhus and starvation. Her sister Anne died the next day. This was legal.
On 15 April, 1945, British troops liberated Bergen-Belsen, where they walked straight into a nightmare. Approximately 60,000 starving and mortally ill people lay among thousands of unburied bodies, packed together without food, water, or sanitation. This liberation was ILLEGAL, and accomplished solely through the use of military force.
The point is, the actions of the current regime, the kidnapping of civilians, the deportations to Libya and El Salvador, the inhumane treatment of arrestees, the use of federalized law enforcement combined with military force against brown people, these things aren't immoral "because they're illegal". They're immoral because they're immoral, and it's going to take ILLEGAL force to do the right, good, and moral thing.