It joined the European Community ( now the EU ) with Denmark in 1973 but withdrew in 1985 over a dispute centered on stringent fishing quotas .