Stav dette: The impact of legislation