One of the jobs of the commission is deciding whether member states are in line with their treaty obligations, that includes any laws passed by said member states.