The court did not rule on whether Trump can use the Alien Enemies Act to deport immigrants it says are members of a Venezuelan crime gang.
The court certainly did:
This is a partial victory for President Donald Trump’s hardline approach to immigration: The decision allows the Justice Department to continue using the 1798 Alien Enemies Act to deport immigrants it says are members of a Venezuelan crime gang.