Deputy justice minister says island will handle case of mainland man detained for spying according to its laws