You are wrong - the rules on state aid are usually used to stop states conferring an advantage to for example a manufacturer based in their borders at the detriment of competition to other manufacturers i.e. if we offered a subsidy on all cars made in the UK but not elsewhere in Europe.
Offering a secured loan to help an ailing business through a cashflow crisis wouldn't fall into the same category.