something is rotten in the state of Denmark
(idiomatic) Something is not right, seriously amiss, especially when leading to suspicion of motive.
If the authorities knew about the problems and chose not to prevent them, then clearly something is rotten in the state of Denmark.