Adaptation of the Polish legal system to European Union law