In WW2 Germans, Italians, and Japanese were rounded up and imprisoned without trial, some were executed, many were imprisoned in actual prisons.
That is nothing new or unusual. Every country interned enemy aliens in WWII. As for executions, I couldn’t find any. Can you share a source?
Operation Pastorious. Eight sentenced to death. Six executed.