Ultracold fermionic atomic gas with Bardeen-Cooper-Schrieffer pairing between hyperfine states is studied. It is shown that a $\ensuremath{\pi}$-Josephson contact [superfluid--normal-gas--superfluid
(S∕N∕S)] can be realized in systems where the left and right banks
S are superfluids and the weak link
N is a normal gas with the finite mismatch in chemical potentials ${\ensuremath{\delta}}_{{\ensuremath{\mu}}_{N}}\ensuremath{\ne}0$. If such a $\ensuremath{\pi}$-junction is part of a closed superfluid ring the superfluid mass-current flows spontaneously---the ultracold atomic $\ensuremath{\pi}$--superconducting quantum interference device ($\ensuremath{\pi}$-SQUID). This situation is realized if the radius of the ring
R is larger than the critical one
Rc. The same effect will be realized also for ${\ensuremath{\delta}}_{{\ensuremath{\mu}}_{N}}⪢\ensuremath{\Delta}$, where $\ensuremath{\Delta}$ is the superfluid gap in S. The sensitivity of the $\ensuremath{\pi}$-SQUID to inertial effects is discussed in the case of rotational motion.