About to use ATS and self-certificates in ADP-aplication

(A)    When is App Transport Security (ATS) mandatory?

Referenced URLs: https://developer.apple.com/news/?id=12212016b

(B)   Even if ATS is enabled, is the server allowed to use self-certificates for HTTPS communication between the app and the server?