The election to the Scottish Parliament of an Indian national with a temporary visa calls into question the Holyrood voting system.