Link to problem area: https://spec.matrix.org/v1.9/server-server-api/#put_matrixfederationv2send_joinroomideventid
The join event only needs a signature from a resident server if joining via the restricted join rules flow, i.e. join_authorised_via_users_server is specified.
c.f. MSC3083 and Room Version 8 auth rules