Spain says Israel’s restrictions on its Jerusalem consulate violate international law