Stateful Realizers for Nonstandard Analysis (Logical Methods in Computer Science, 2023)