The application of foreign law in civil matters in the EU Member States and its perspectives for the future