A resolution looked in sight in 2004 when the two countries agreed that wine produced on 565 hectares ( 1,400 acres ) of land in Slovakia would be able to use the Tokaji label , providing that common regulations were applied .