Emergency landing done for illegal entry in Spain