The Constitutional Court ruled on Thursday that the government’s 400-billion-baht emergency loan decree was lawful, lifting uncertainty over state spending plans.