I found that wireguard doesn't support dynamic IP configuration yet. That means that a configuration file for a peer can be used by only one device at a time, otherwise there would be a conflict of two devices in the network with the same IP.
It got me curious. How then VPN services that support wireguard work and provide VPN to many clients simultaneously? Even if wireguard doesn't support this feature yet.
I know about wg-dynamic development, but it's still not finished yet.