[step:Extract a closed subset using inner regularity of the Borel regular measure]Each simple function $s_k$ takes the form
\begin{align*}
s_k = \sum_{j=1}^{N_k} c_{k,j}\, \mathbb{1}_{E_{k,j}},
\end{align*}
where $c_{k,j} \ge 0$ and the sets $E_{k,j}$ are $\mu$-measurable. Since $\mu$ is a Borel regular measure on $\mathbb{R}^n$, every $\mu$-measurable set of finite measure can be approximated from within by compact (hence closed) sets: for each $k$ and $j$, there exists a compact set $K_{k,j} \subset E_{k,j} \cap A_1$ with $\mu((E_{k,j} \cap A_1) \setminus K_{k,j}) < \varepsilon / (3 \cdot N_k \cdot 2^k)$.
Define $C_k := \bigcup_{j=1}^{N_k} K_{k,j}$, which is compact (finite union of compact sets). The restriction of $s_k$ to $C_k$ is continuous: on $C_k$, the function $s_k$ takes the constant value $c_{k,j}$ on each $K_{k,j}$, and the $K_{k,j}$ are pairwise disjoint compact sets (since the $E_{k,j}$ partition the domain and $K_{k,j} \subset E_{k,j}$), so $s_k|_{C_k}$ is locally constant, hence continuous.
Now set $C := A_1 \cap \bigcap_{k=1}^{\infty} C_k'$, where $C_k'$ is a closed set in $A_1$ on which $s_k$ is continuous. More precisely, by inner regularity of $\mu$ on $A_1$, there exists a closed set $F \subset A_1$ with $\mu(A_1 \setminus F) < \varepsilon/3$ such that every $s_k$ restricted to $F$ is $\mu$-measurable. We consolidate: using inner regularity, choose a single compact set $C \subset A_1$ with $\mu(A_1 \setminus C) < \varepsilon/3$ such that each $s_k|_C$ is continuous.[/step]