Dealing with the legal issues turned out to be a kettle of worms.
Idiomatic Expressions for fine kettle of fish
Phrase: to get into a fine kettle of fish
Meaning: to become involved in a troublesome situation
Usage: He got into a fine kettle of fish when he accidentally sent the email to the wrong person.