It’s lawful. Title 32 shifts operational control to a state. Usually military police which this unit would be but everything from medical to emergency logistics. Talk to any lawyer from a 4th tier school.