Leak of dangerous substance leads to £20,000 fines