A legal gamble by a small Illinois toy maker has culminated in a ruling that could reshape President Donald Trump's…