It's definitely not legal to employ you as an FTE
Just like if someone from the US came to your country, your country will 100% prevent you from hiring them without significant life-changing effort.
Hopefully your negotiation for additional pay goes in your favor.
Good luck!