In fact, the laws and rules between Ukraine and these countries were and still are much different. Regardless of attempts to make them sound the same.
Also EU pays Ukraine because them not folding makes Europe safer. If Ujraine fails, Russia will attack other European countries.