Judge says it was illegal to use settlement agreements to avoid tender procurement laws.