Mateusz Morawiecki said every EU member has right to shape its own legal system