Reasoned opinion
Before a court case can begin the EU Commission will issue a reasoned opinion. A member state considering legal action can then follow this opinion or ignore it and bring the case to court.
The Lisbon Treaty deals with it in Arts. 258-259 TFEU.

